summaryrefslogtreecommitdiff
path: root/Documentation/scsi/tmscsim.txt
diff options
context:
space:
mode:
authorBenjamin LaHaise <bcrl@linux.intel.com>2005-09-09 13:02:09 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-09 13:57:32 -0700
commitac0b1bc1edbe81c0cb36cad7e7f5b91f4d9e12ed (patch)
treeb982e728eafeebc226882f91482ff7d0d9ee5cc3 /Documentation/scsi/tmscsim.txt
parent8f58202bf6b915656e116ece3bc4ace14bfe533a (diff)
downloadlwn-ac0b1bc1edbe81c0cb36cad7e7f5b91f4d9e12ed.tar.gz
lwn-ac0b1bc1edbe81c0cb36cad7e7f5b91f4d9e12ed.zip
[PATCH] aio: kiocb locking to serialise retry and cancel
Implement a per-kiocb lock to serialise retry operations and cancel. This is done using wait_on_bit_lock() on the KIF_LOCKED bit of kiocb->ki_flags. Also, make the cancellation path lock the kiocb and subsequently release all references to it if the cancel was successful. This version includes a fix for the deadlock with __aio_run_iocbs. Signed-off-by: Benjamin LaHaise <bcrl@linux.intel.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Documentation/scsi/tmscsim.txt')
0 files changed, 0 insertions, 0 deletions