From: Sébastien Dugu Date: Wed, 29 Jun 2005 03:44:59 +0000 (-0700) Subject: [PATCH] aio-retry-fix: fix aio retry work queueing X-Git-Tag: v2.6.13-rc1~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c016e2257acd00a7ffd87fa1eec896138563d1aa;p=pandora-kernel.git [PATCH] aio-retry-fix: fix aio retry work queueing In the case of buffered AIO, in the aio retry path (aio_run_iocb), when the retry method returns EIOCBRETRY the kicked iocb is added to the context run list but is never queued onto the work queue. The request therefore is never completed. This patch fixes that by adding the appropriate call to aio_queue_work in aio_run_aiocb so that subsequent retries will be handled by the aio worker thread. Signed-off-by: Sébastien Dugué Acked-by: Benjamin LaHaise Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed