Re: [syzbot] [kernfs?] possible deadlock in kernfs_fop_llseek

From: Christoph Hellwig
Date: Fri Apr 05 2024 - 02:51:51 EST


On Thu, Apr 04, 2024 at 12:33:40PM +0300, Amir Goldstein wrote:
> I don't follow what you are saying.
> Which code is in non-starter violation?
> kernfs for calling lookup_bdev() with internal of->mutex held?

That is a huge problem, and has been causing endless annoying lockdep
chains in the block layer for us. If we have some way to kill this
the whole block layer would benefit.