Re: [PATCH 3/3] block/mq-deadline: Disable I/O prioritization in certain cases

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

 



On Thu, Dec 14, 2023 at 09:37:21AM +0900, Damien Le Moal wrote:
> Yes, that can be trivially done with the sd_zbc.c zone append emulation. If you
> check the code, you'll see that sd_zbc_prepare_zone_append() returns
> BLK_STS_ZONE_RESOURCE if the target zone is already locked. That causes a
> requeue and the zone append to be resubmitted later. All you need to do for UFS
> devices is tweak that to not requeue the zone append if the write command used
> to emulate it can be issued. The completion path will also, of course, need some
> tweaks to not attempt to unlock the target zone if it was not locked.

On the Linux side yes.  I still don't see how the hardware can actually
make this scheme work withou the potential of deadlocks.  But compared
to the problems with having a completely in-order I/O stacks that's
peanuts as they say in Germany.




[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