From: Alberto Faria <afaria@redhat.com>
To: qemu-devel@nongnu.org
Cc: "Eduardo Habkost" <eduardo@habkost.net>,
"Philippe Mathieu-Daudé" <philmd@linaro.org>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Marcel Apfelbaum" <marcel.apfelbaum@gmail.com>,
qemu-block@nongnu.org, "Kevin Wolf" <kwolf@redhat.com>,
"Fam Zheng" <fam@euphon.net>,
"Yanan Wang" <wangyanan55@huawei.com>,
"Zhao Liu" <zhao1.liu@intel.com>,
"Alberto Faria" <afaria@redhat.com>
Subject: [PATCH v2 0/2] scsi-disk: Add FUA write support
Date: Fri, 11 Apr 2025 12:30:34 +0100 [thread overview]
Message-ID: <20250411113036.786841-1-afaria@redhat.com> (raw)
Add scsi-disk support for Force Unit Access (FUA) writes. The first patch lets
us avoid FUA emulation when the underlying driver supports it natively. The
second patch makes scsi-disk devices advertise FUA support by default.
v2:
- Drop FUA write emulation logic since the block layer already does that.
- Add machine type compat for "dpofua".
Alberto Faria (2):
scsi-disk: Add native FUA write support
scsi-disk: Advertise FUA support by default
hw/core/machine.c | 1 +
hw/scsi/scsi-disk.c | 45 +++++++++++----------------------------------
2 files changed, 12 insertions(+), 34 deletions(-)
--
2.49.0
next reply other threads:[~2025-04-11 11:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-11 11:30 Alberto Faria [this message]
2025-04-11 11:30 ` [PATCH v2 1/2] scsi-disk: Add native FUA write support Alberto Faria
2025-04-25 15:02 ` Kevin Wolf
2025-04-11 11:30 ` [PATCH v2 2/2] scsi-disk: Advertise FUA support by default Alberto Faria
2025-04-25 15:05 ` Kevin Wolf
2025-05-02 12:12 ` Alberto Faria
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250411113036.786841-1-afaria@redhat.com \
--to=afaria@redhat.com \
--cc=eduardo@habkost.net \
--cc=fam@euphon.net \
--cc=kwolf@redhat.com \
--cc=marcel.apfelbaum@gmail.com \
--cc=pbonzini@redhat.com \
--cc=philmd@linaro.org \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=wangyanan55@huawei.com \
--cc=zhao1.liu@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.