aboutsummaryrefslogtreecommitdiff
path: root/docs/sphinx/kerneldoc.py
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2025-03-07 23:16:31 +0100
committerKevin Wolf <kwolf@redhat.com>2025-03-13 17:57:23 +0100
commit2f3b6e61f692bade441230dd25c1c0f101bd2eef (patch)
tree63283cfcb67474a2b057f5255aaf2592372362b9 /docs/sphinx/kerneldoc.py
parent984a32f17e8dab0dc3d2328c46cb3e0c0a472a73 (diff)
downloadqemu-2f3b6e61f692bade441230dd25c1c0f101bd2eef.zip
qemu-2f3b6e61f692bade441230dd25c1c0f101bd2eef.tar.gz
qemu-2f3b6e61f692bade441230dd25c1c0f101bd2eef.tar.bz2
block/io: Ignore FUA with cache.no-flush=on
For block drivers that don't advertise FUA support, we already call bdrv_co_flush(), which considers BDRV_O_NO_FLUSH. However, drivers that do support FUA still see the FUA flag with BDRV_O_NO_FLUSH and get the associated performance penalty that cache.no-flush=on was supposed to avoid. Clear FUA for write requests if BDRV_O_NO_FLUSH is set. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Message-ID: <20250307221634.71951-3-kwolf@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'docs/sphinx/kerneldoc.py')
0 files changed, 0 insertions, 0 deletions