summary refs log tree commit diff stats
path: root/scripts/qemu-gdb.py
diff options
context:
space:
mode:
authorPeter Lieven <pl@kamp.de>2015-04-16 16:08:29 +0200
committerKevin Wolf <kwolf@redhat.com>2015-04-28 15:36:10 +0200
commit73b5394e2e4af3bbe01e221fa395373facc67f78 (patch)
tree657310d107c3a8bda43775252c7495b24e1f94bb /scripts/qemu-gdb.py
parent752ce45150d3d70aabc4eb46a7a9cdfd8b4640fd (diff)
downloadfocaccia-qemu-73b5394e2e4af3bbe01e221fa395373facc67f78.tar.gz
focaccia-qemu-73b5394e2e4af3bbe01e221fa395373facc67f78.zip
block/iscsi: optimize WRITE10/16 if cache.writeback is not set
SCSI allowes to tell the target to not return from a write command
if the date is not written to the disk. Use this so called FUA
bit if it is supported to optimize WRITE commands if writeback is
not allowed.

In this case qemu always issues a WRITE followed by a FLUSH. This
is 2 round trip times. If we set the FUA bit we can ignore the
following FLUSH.

Signed-off-by: Peter Lieven <pl@kamp.de>
Message-id: 1429193313-4263-6-git-send-email-pl@kamp.de
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scripts/qemu-gdb.py')
0 files changed, 0 insertions, 0 deletions