Re: [PATCH 2/2] scsi-disk: Add native FUA support

2025-03-25 Thread Stefan Hajnoczi
On Tue, Mar 25, 2025 at 01:48:35PM +0100, Kevin Wolf wrote: > Am 06.03.2025 um 11:33 hat Kevin Wolf geschrieben: > > Am 04.03.2025 um 16:52 hat Alberto Faria geschrieben: > > > Avoid emulating FUA when the driver supports it natively. This should > > > provide better performance than a full flush a

Re: [PATCH 2/2] scsi-disk: Add native FUA support

2025-03-25 Thread Kevin Wolf
Am 06.03.2025 um 11:33 hat Kevin Wolf geschrieben: > Am 04.03.2025 um 16:52 hat Alberto Faria geschrieben: > > Avoid emulating FUA when the driver supports it natively. This should > > provide better performance than a full flush after the write. > > > > Signed-off-by: Alberto Faria > > Did you

Re: [PATCH 2/2] scsi-disk: Add native FUA support

2025-03-06 Thread Kevin Wolf
Am 04.03.2025 um 16:52 hat Alberto Faria geschrieben: > Avoid emulating FUA when the driver supports it natively. This should > provide better performance than a full flush after the write. > > Signed-off-by: Alberto Faria Did you try out if you can see performance improvements in practice? It's

[PATCH 2/2] scsi-disk: Add native FUA support

2025-03-04 Thread Alberto Faria
Avoid emulating FUA when the driver supports it natively. This should provide better performance than a full flush after the write. Signed-off-by: Alberto Faria --- hw/scsi/scsi-disk.c | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/hw/scsi/scsi-disk.c b/hw