iscsi: Support BDRV_REQ_FUA
commit9f0eb9e129398d8907ec990b18c03f20ee0de15e
authorKevin Wolf <kwolf@redhat.com>
Thu, 10 Mar 2016 12:55:50 +0000 (10 13:55 +0100)
committerKevin Wolf <kwolf@redhat.com>
Wed, 30 Mar 2016 10:16:02 +0000 (30 12:16 +0200)
treeee82129d0e64ae43dbaa3ecb6d42c469e20ca04f
parent93f5e6d88a452799b907954b90cf49abee8f7ea4
iscsi: Support BDRV_REQ_FUA

This replaces the existing hack in the iscsi driver that sent the FUA
bit in writethrough mode and ignored the following flush in order to
optimise the number of roundtrips (see commit 73b5394e).

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
block/iscsi.c