Re: [PATCH block/for-6.2-fixes] block: Drop spurious might_sleep() from blk_put_queue()

From: Dan Carpenter
Date: Sat Jan 07 2023 - 03:37:13 EST


On Fri, Jan 06, 2023 at 12:45:12PM -0800, Luis Chamberlain wrote:
> > Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>
> > Reported-by: Dan Carpenter <error27@xxxxxxxxx>
> > Link: https://lkml.kernel.org/r/Y7g3L6fntnTtOm63@kili
> > Cc: Christoph Hellwig <hch@xxxxxx>
> > Cc: Luis Chamberlain <mcgrof@xxxxxxxxxx>
> > Fixes: e8c7d14ac6c3 ("block: revert back to synchronous request_queue removal") # v5.9+
>
> *tons* has changed since e8c7d14ac6c3 and so the bots might think that
> *if* this patch is applied upstream it is justified for older kernels
> and I don't think that's yet been verified and doubt it.

If you enable the correct debug option then the might_sleep() causes a
stack trace. Eventually syzbot will find it.

I would backport it.

regards,
dan carpenter