Re: [RFC PATCHv3 0/2] block: remove q->sysfs_dir_lock and fix race updating nr_hw_queue

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

 



On Tue, 28 Jan 2025 20:04:12 +0530, Nilay Shroff wrote:
> There're two patches in this patchest.
> The first patch removes redundant q->sysfs_dir_lock.
> The second patch fixes nr_hw_queue update racing with disk addition/
> removal.
> 
> In the current implementation we use q->sysfs_dir_lock for protecting
> kobject addition/deletion while we register/unregister blk-mq with
> sysfs. However the sysfs/kernfs internal implementation already protects
> against the simultaneous addtion/deletion of kobjects. So in that sense
> use of q->sysfs_dir_lock appears redundant.
> 
> [...]

Applied, thanks!

[1/2] block: get rid of request queue ->sysfs_dir_lock
      commit: fe6628608627424fb4a6d4c8d2235822457c5d9c
[2/2] block: fix nr_hw_queue update racing with disk addition/removal
      commit: 14ef49657ff3b7156952b2eadcf2e5bafd735795

Best regards,
-- 
Jens Axboe







[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