On Mon, 4 Aug 2025 15:51:48 +0800 Yu Kuai wrote: > � 2025/08/03 21:41, Ujwal Kundur � > > A potential unsafe locking scenario presents itself when > > mutex_lock(&disk->open_mutex) is called with reader's lock held on > > update_nr_hwq_lock: > > CPU0 CPU1 > > ---- ---- > > rlock(&set->update_nr_hwq_lock) > > lock(&nbd->config_lock); > > lock(&set->update_nr_hwq_lock); > > lock(&disk->open_mutex) > > > This problem is already fixed inside nbd by: > 8b428f42f3ed ("nbd: fix lockdep deadlock warning") > Deadlock still exists [1]. [1] https://lore.kernel.org/lkml/6891742c.050a0220.7f033.001a.GAE@xxxxxxxxxx/