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)
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>

No differences found