Thread (42 messages) 42 messages, 7 authors, 2025-11-05

Re: add error handling to add_disk / device_add_disk

From: Jens Axboe <axboe@kernel.dk>
Date: 2021-08-23 18:57:45

On 8/18/21 8:45 AM, Christoph Hellwig wrote:
Hi Jens,

this series does some refactoring and then adds support to return errors
from add_disk (rebasing a patch from Luis).  I think that alone is a huge
improvement as it leaves a disk for which add_disk failed in a defined
status, but the real improvement will be actually handling the errors in
the drivers.  This series contains two trivial conversions.  Luis has
a tree with conversions for all drivers in the tree, which will be fed
incrementally once this goes in.  Hopefully we can convert all the
commonly used drivers in this merge window.
Applied, thanks.

-- 
Jens Axboe
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help