On 11/1/21 23:45, Christoph Hellwig wrote:
People will take a look at it, but you sent it out on a Saturday right
before a merge window, doing a 'ping' kind of followup on a Monday is
way too soon.
Please retests on 5.16-rc1 once it is out. Sorting out add_disk error
handling is one of the big changes in this merge window. And no, it is
not easily backportable.
I have ran this on the latest mainline. I can confirm that the errors are
nicely handled there. It triggers a warning and panics in device_add_disk()
because of:
return WARN_ON_ONCE(ret); /* keep until all callers handle errors */
and
Kernel panic - not syncing: panic_on_warn set ...
I will close the issue.
--
Thanks,
Tadeusz