]> git.baikalelectronics.ru Git - kernel.git/commit
target: make iblock_emulate_sync_cache asynchronous
authorChristoph Hellwig <hch@infradead.org>
Fri, 14 Oct 2011 11:29:58 +0000 (07:29 -0400)
committerNicholas Bellinger <nab@linux-iscsi.org>
Mon, 24 Oct 2011 03:21:29 +0000 (03:21 +0000)
commit49e6af25e940ffae12bd2ef98366643bc70f46b3
tree9acd9f28f37eb697247f6f7256650b03932ede8a
parentadaea3cbc3a1109c9bcc7ad3b306ca885dd6d2a8
target: make iblock_emulate_sync_cache asynchronous

Do not block the submitting thread when handling a SYNCHRONIZE CACHE command,
but implement it asynchronously by sending the FLUSH command ourself and
calling transport_complete_sync_cache from the completion handler.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_iblock.c