Re: [PATCH V4 0/5] block: don't acquire .sysfs_lock before removing mq & iosched kobjects

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

 



On 8/27/19 5:01 AM, Ming Lei wrote:
> Hi,
> 
> The 1st 3 patches cleans up current uses on q->sysfs_lock.
> 
> The 4th patch adds one helper for checking if queue is registered.
> 
> The last patch splits .sysfs_lock into two locks: one is only for
> sync .store/.show from sysfs, the other one is for pretecting kobjects
> registering/unregistering. Meantime avoid to acquire .sysfs_lock when
> removing mq & iosched kobjects, so that the reported deadlock can
> be fixed.

Thanks Ming, and Bart for diligent reviews. Applied for 5.4.

-- 
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