Re: WARNING in __init_work

From: Christoph Hellwig
Date: Mon Oct 18 2021 - 00:47:50 EST




On Mon, Oct 18, 2021 at 12:43:38PM +0800, Zqiang wrote:
> This is the details of the test, Hope it helps you

Call me stupid, but I can only find the trace and linked to unreadable
google sites that wan't me to log in somehow and no actual details.

If you have a direct link to the reproducer (an attachment would do
it as well) I'd love to try it myself.

Otherwise this commit in the block-5.15 tree should help to catch what
I suspect is the root cause (final ref drop before unregister) earlier
and with a better backtrace:

https://git.kernel.dk/cgit/linux-block/commit/?h=block-5.15&id=a20417611b98e12a724e5c828c472ea16990b71f