[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 5/7] scsi-disk: add need_fua_emulation to SCSIDi
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH 5/7] scsi-disk: add need_fua_emulation to SCSIDiskClass |
Date: |
Tue, 24 May 2016 09:02:54 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0 |
On 24/05/2016 05:04, Fam Zheng wrote:
> On Mon, 05/23 14:54, Paolo Bonzini wrote:
> > scsi-block will be able to do FUA just by passing the request through
> > to the LUN (which is also more efficient); there is no need to emulate
> > it like we do for scsi-disk.
>
> Even for scsi-disk, shall we just use the block layer FUA fallback already by
> passing BDRV_REQ_FUA in blk_aio_pwritev and simply the code in this series?
That's a good idea but it should be done separately, I think.
Thanks,
Paolo
- [Qemu-devel] [PATCH v2 0/7] dma-helpers, scsi-block: use SG_IO for all I/O on scsi-block, Paolo Bonzini, 2016/05/23
- [Qemu-devel] [PATCH 2/7] dma-helpers: change BlockBackend to opaque value in DMAIOFunc, Paolo Bonzini, 2016/05/23
- [Qemu-devel] [PATCH 5/7] scsi-disk: add need_fua_emulation to SCSIDiskClass, Paolo Bonzini, 2016/05/23
- [Qemu-devel] [PATCH 4/7] scsi-disk: introduce dma_readv and dma_writev, Paolo Bonzini, 2016/05/23
- [Qemu-devel] [PATCH 1/7] dma-helpers: change interface to byte-based, Paolo Bonzini, 2016/05/23
- [Qemu-devel] [PATCH 6/7] scsi-disk: introduce scsi_disk_req_check_error, Paolo Bonzini, 2016/05/23
- [Qemu-devel] [PATCH 3/7] scsi-disk: introduce a common base class, Paolo Bonzini, 2016/05/23
- [Qemu-devel] [PATCH 7/7] scsi-block: always use SG_IO, Paolo Bonzini, 2016/05/23