Re: [syzbot] possible deadlock in del_gendisk
From: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
Date: 2021-06-11 14:47:31
From: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
Date: 2021-06-11 14:47:31
On 2021/06/10 1:46, Tyler Hicks wrote:
Thanks for doing this. I haven't had a chance to retry this commit with lockdep but I did re-review it and didn't think that it would be the cause of this lockdep report since it strictly reduced the usage of the loop_ctl_mutex.
Well, I made commit 310ca162d779efee ("block/loop: Use global lock for ioctl() operation.")
because per device lock was not sufficient. Did commit 6cc8e7430801fa23 ("loop: scale loop
device by introducing per device lock") take this problem into account?