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