commit | df5fa691ce61aedd3e4dbcf960ee44f05b797d8b | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@infradead.org> | Fri Oct 14 07:29:58 2011 -0400 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Mon Oct 24 03:21:29 2011 +0000 |
tree | 9acd9f28f37eb697247f6f7256650b03932ede8a | |
parent | 6b20fa9aaf0c2f69ee6f9648e20ab2be0206705e [diff] |
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>