public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] aio: fix the vectored aio routines
@ 2010-04-30 20:48 Jeff Moyer
  2010-04-30 20:48 ` [PATCH 1/2] compat: factor out compat_rw_copy_check_uvector from compat_do_readv_writev Jeff Moyer
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Jeff Moyer @ 2010-04-30 20:48 UTC (permalink / raw)
  To: linux-aio; +Cc: linux-kernel, mjt

Hi,

It was reported[1] that 32 bit readv and writev AIO operations were
not functioning properly.  It turns out that the code to convert the
32bit io vectors to 64 bits was never written.  The results of that
can be pretty bad, but in my testing, it mostly ended up in generating
EFAULT as we walked off the list of I/O vectors provided.

This patch set fixes the problem in my environment.  Comments, as always,
are greatly appreciated.

Cheers,
Jeff

[1] http://lkml.org/lkml/2010/3/8/309

[PATCH 1/2] compat: factor out compat_rw_copy_check_uvector from compat_do_readv_writev
[PATCH 2/2] aio: fix the compat vectored operations


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-05-04 20:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-30 20:48 [PATCH 0/2] aio: fix the vectored aio routines Jeff Moyer
2010-04-30 20:48 ` [PATCH 1/2] compat: factor out compat_rw_copy_check_uvector from compat_do_readv_writev Jeff Moyer
2010-04-30 20:49 ` [PATCH 2/2] aio: fix the compat vectored operations Jeff Moyer
2010-05-04 20:13 ` [PATCH 0/2] aio: fix the vectored aio routines Andrew Morton
2010-05-04 20:16   ` Jeff Moyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox