Re: [PATCH] block: Fix potential deadlock in blk_ia_range_sysfs_show()

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

 



On Fri, 3 Jun 2022 11:19:05 +0900, Damien Le Moal wrote:
> When being read, a sysfs attribute is already protected against removal
> with the kobject node active reference counter. As a result, in
> blk_ia_range_sysfs_show(), there is no need to take the queue sysfs
> lock when reading the value of a range attribute. Using the queue sysfs
> lock in this function creates a potential deadlock situation with the
> disk removal, something that a lockdep signals with a splat when the
> device is removed:
> 
> [...]

Applied, thanks!

[1/1] block: Fix potential deadlock in blk_ia_range_sysfs_show()
      commit: 41e46b3c2aa24f755b2ae9ec4ce931ba5f0d8532

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