Thread (4 messages) 4 messages, 2 authors, 2021-09-22

Re: [GIT PULL] md-fixes 20210922

flat view

From: Jens Axboe <axboe@kernel.dk>
Date: 2021-09-22 18:42:58

On 9/22/21 11:38 AM, Song Liu wrote:
quoted
On Sep 22, 2021, at 9:14 AM, Jens Axboe [off-list ref] wrote:

On 9/22/21 10:10 AM, Song Liu wrote:
quoted
Hi Jens, 

Please consider pulling the following changes for md-fixes on top of your 
block-5.15 branch. The changes are:
 1. Fix lock order reversal in md_alloc. (Christoph)
 2. Handle add_disk error in md_alloc. (Luis)
 3. Refactor md sysfs attrs, included because of dependency with 1 and 2. 
    (Christoph). 
I don't think the error handling for add_disk is prudent at this point,
that's something that should go in with the 5.16 cycle. It's been like
that forever, nothing that warrants pushing this for 5.15 at all.
Hmm... I see. The WARN_ON_ONCE at the end of device_add_disk() should be
enough.
We've had no error handling in add_disk forever, this is not a new issue.

Then we just need the first commit. Could you please pull the 
following change instead? 

  1. Fix lock order reversal in md_alloc. (Christoph)
Looks better, 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