Re: [PATCH] block: genhd: don't call blkdev_show() with major_names_lock held

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

 



On 2021/09/07 23:36, Jens Axboe wrote:
> On 9/7/21 5:52 AM, Tetsuo Handa wrote:
>> The simplest fix is to call probe function without holding
>> major_names_lock [1], but Christoph Hellwig does not like such idea.
>> Therefore, instead of holding major_names_lock in blkdev_show(),
>> introduce a different lock for blkdev_show() in order to break
>> "sb_writers#$N => &p->lock => major_names_lock" dependency chain.
> 
> Agree, that's probably the easiest fix here. Applied, thanks.
> 

Sorry, can you update the patch title to:

block: genhd: don't hold major_names_lock in blkdev_show()



[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