Re: [PATCH v5 5/7] ata: libata: Fix FUA handling in ata_build_rw_tf()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 07, 2022 at 09:12:57PM +0900, Damien Le Moal wrote:
> On 11/7/22 14:50, Christoph Hellwig wrote:
> > On Mon, Nov 07, 2022 at 09:50:19AM +0900, Damien Le Moal wrote:
> >> Finally, since the block layer should never issue a FUA read
> >> request, warn in ata_build_rw_tf() if we see such request.
> > 
> > Couldn't this be triggered using SG_IO passthrough with a SCSI 
> > WRITE* command that has the FUA bit set?
> 
> Yes indeed. Should I drop the warn ?

I think the warn needs to go.  But don't we also need to handle the
non-NCQ fua case if we don't want to break pure passthrough appliations?
Or do we simply not care?  In the latter case we'll at least need a
comment documenting that tradeoff.



[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux