Re: [PATCH v7 2/7] block/mq-deadline: Only use zone locking if necessary

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

 



On 8/10/23 17:45, Damien Le Moal wrote:
With that, mq-deadline can even be simplified to not even look at the
q zoned model and simply us q->limits.use_zone_write_lock to
determine if locking a zone is needed or not.

Hi Damien,

I think implementing the above proposal requires splitting 'use_zone_write_lock' into two variables:
(a) One member variable that indicates whether the zone write lock
    should be used.
(b) Another member variable that indicates whether or not the LLD
    preserves the order of SCSI commands.

Member variable (b) should be set by the LLD and member variable (a) can be set by disk_set_zoned().

Do you want me to implement this approach?

Thanks,

Bart.





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux