[PATCH] aio: fix do_sync_(read|write) to properly handle aio retries
authorBenjamin LaHaise <bcrl@kvack.org>
Thu, 23 Jun 2005 07:10:27 +0000 (00:10 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 23 Jun 2005 16:45:34 +0000 (09:45 -0700)
commit63e6880918e75dcb92d60aff218a76e063a471ef
tree059a00899bdf96b255e2b60d6cf91968a9af485a
parent4452ea509e29df2f019bed2f7a1e0f5eea092b26
[PATCH] aio: fix do_sync_(read|write) to properly handle aio retries

When do_sync_(read|write) encounters an aio method that makes use of the
retry mechanism, they fail to correctly retry the operation.  This fixes
that by adding the appropriate sleep and retry mechanism.

Signed-off-by: Benjamin LaHaise <benjamin.c.lahaise@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/read_write.c