Re: [PATCH V2 03/20] block: don't call freeze queue in elevator_switch() and elevator_disable()

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

 



On Tue, Apr 22, 2025 at 12:00:44PM +0800, Ming Lei wrote:
> On Mon, Apr 21, 2025 at 02:34:56PM +0200, Christoph Hellwig wrote:
> > On Sat, Apr 19, 2025 at 12:36:44AM +0800, Ming Lei wrote:
> > > Both elevator_switch() and elevator_disable() are called from sysfs
> > > store and updating nr_hw_queue code paths only.
> > 
> > I don't understand this sentence.  What does
> > "and updating nr_hw_queue code paths only" mean?
> 
> Both two are only called from the two code paths, in which queue is
> guaranteed to be frozen.

Yes, that's also verified by the asserts.  But the commit message doesn't
sound like that at all.





[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