Re: ublk vs write cache and FUA

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

 



On Thu, Jul 21, 2022 at 05:14:58PM +0200, Christoph Hellwig wrote:
> Hi Ming,
> 
> ublk implements REQ_OP_FLUSH and REQ_FUA, but will never see those as
> it never calls blk_queue_write_cache.  Can we drop the code?  Or should
> there be a flag to enable write cache and fua support when setting up
> a device?

There should have been flags defined in ublksrv_ctrl_dev_info for describe
wc/fua info, since ublk_drv doesn't handle any device specific logic.

So please keep REQ_OP_FLUSH and REQ_FUA which two should be useful, and I
will add flags and related code to use them.


Thanks,
Ming




[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