diff options
author | Kevin Wolf <kwolf@redhat.com> | 2025-03-07 23:16:31 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2025-03-13 17:57:23 +0100 |
commit | 2f3b6e61f692bade441230dd25c1c0f101bd2eef (patch) | |
tree | 63283cfcb67474a2b057f5255aaf2592372362b9 /docs/sphinx/kerneldoc.py | |
parent | 984a32f17e8dab0dc3d2328c46cb3e0c0a472a73 (diff) | |
download | qemu-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