Re: [PATCH] block: fix lock dependency between percpu alloc lock and elevator lock

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

 



On Wed, May 21, 2025 at 12:08:02PM +0800, Ming Lei wrote:
> Not dig into this implementation, will look into later.
> 
> I guess it should work by extending elv_change_ctx.
> 
> However we have other elevator_queue lifetime issue, that is why
> ->elevator_lock is used almost everywhere.
> 
> Another solution is to move all `sched_data` into 'struct elevator_queue':

With "sched_data" you primarily mean the sched tags here, right?

Anyway, getting scheduler owned items out of the request_queue and into
the elevator data seems like the right thing to do, but it might indeed
be very invasive.





[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