Re: [syzbot] [fs?] possible deadlock in ovl_create_object (2)

From: Chris Roy

Date: Sat Sep 19 2026 - 10:45:13 EST


On Sat, Sep 19, 2026, Richard Weinberger wrote:
> While we're here, maybe it's time to add a decent configfs interface to
> this driver instead of configuring through module parameters.
> That way also multiple instances are possible.
>
> IMHO testing is the only use case. I use it regularly.

I would love to look at this if you think it's worth the added
complexity. A couple of design questions before I start
on anything:

- Does configfs coexist with the existing block2mtd= module param
(for early-boot/cmdline compatibility), or replace it outright?

- For multiple instances, would a configfs group per device (backing
path, erase size, label) match what you had in mind?

Can sketch an RFC-style doc once I have a sense of the above.

Regards,
Chris

On Sat, 19 Sept 2026 at 19:58, Richard Weinberger <richard@xxxxxx> wrote:
>
> Am Sat, Sep 19, 2026, 16:22 schrieb Jörn Engel <joern@xxxxxxxxxxxxxxxx>:
> > I added Adarsh Das, who also attempted to fix this bug.
> >
> > On Sat, Sep 19, 2026 at 07:42:25AM +0000, Richard Weinberger wrote:
> > >
> > > While we're here, maybe it's time to add a decent configfs interface to
> > > this driver instead of configuring through module parameters.
> > > That way also multiple instances are possible.
> >
> > I honestly wonder whether this driver has any production users. It is
> > somewhat useful for developers that want to simulate hardware they don't
> > have. But beyond that?
>
> IMHO testing is the only use case. I use it regularly.
>
> Thanks,
> //richard