]> 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)
commitb7d042e1d2f43da498592de470feaa792b2e1029
tree9acd9f28f37eb697247f6f7256650b03932ede8a
parent622027534e45e160e34213399e654f2eb46aa611
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