From: Yu Kuai <yukuai1@huaweicloud.com>
To: Xiao Ni <xni@redhat.com>, Yu Kuai <yukuai1@huaweicloud.com>
Cc: song@kernel.org, linux-raid@vger.kernel.org,
linux-kernel@vger.kernel.org, yi.zhang@huawei.com,
yangerkun@huawei.com, "yukuai (C)" <yukuai3@huawei.com>
Subject: Re: [PATCH md-6.13 5/5] md/md-bitmap: move bitmap_{start, end}write to md upper layer
Date: Fri, 22 Nov 2024 10:45:46 +0800 [thread overview]
Message-ID: <e6843d53-c7f4-2e38-0a15-91b49afec8f1@huaweicloud.com> (raw)
In-Reply-To: <CALTww28JrdXoNXQNPxx2Sg9L2iL20jZZ80Y-qZzqcyF780M1fg@mail.gmail.com>
Hi,
在 2024/11/22 10:06, Xiao Ni 写道:
> On Mon, Nov 18, 2024 at 7:44 PM Yu Kuai <yukuai1@huaweicloud.com> wrote:
>>
>> From: Yu Kuai <yukuai3@huawei.com>
>>
>> There are two BUG reports that raid5 will hang at
>> bitmap_startwrite([1],[2]), root cause is that bitmap start write and end
>> write is unbalanced, and while reviewing raid5 code, it's found that
>
> Hi Kuai
>
> It's better to describe more about "unbalanced" in the patch. For
> raid5, bitmap is set and cleared based on stripe->dev[] now. It looks
> like the set operation matches the clear operation already.
Ok, one place that I found is that raid5 can do extra end write while
stripe->dev[].towrite is NULL, the null checking is missing. I'll
mention that in the next version.
...
>
> This patch looks good to me.
>
> Reviewd-by: Xiao Ni <xni@redhat.com>
>
Thanks for the review. I'll also remove the unused STRIPE_BITMAP_PENDING
in v2.
Kuai
>
> .
>
next prev parent reply other threads:[~2024-11-22 2:45 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-18 11:41 [PATCH md-6.13 0/5] md/md-bitmap: move bitmap_{start,end}write " Yu Kuai
2024-11-18 11:41 ` [PATCH md-6.13 1/5] md/md-bitmap: factor behind write counters out from bitmap_{start/end}write() Yu Kuai
2024-11-22 2:16 ` Xiao Ni
2024-11-18 11:41 ` [PATCH md-6.13 2/5] md/md-bitmap: remove the last parameter for bimtap_ops->endwrite() Yu Kuai
2024-11-18 11:41 ` [PATCH md-6.13 3/5] md: add a new callback pers->bitmap_sector() Yu Kuai
2024-11-22 2:17 ` Xiao Ni
2024-11-18 11:41 ` [PATCH md-6.13 4/5] md/raid5: implement pers->bitmap_sector() Yu Kuai
2024-11-18 11:41 ` [PATCH md-6.13 5/5] md/md-bitmap: move bitmap_{start, end}write to md upper layer Yu Kuai
2024-11-19 9:49 ` [PATCH md-6.13 4/5] md/raid5: implement pers->bitmap_sector() Jack Wang
2024-11-19 10:58 ` Yu Kuai
2024-11-19 15:29 ` Jack Wang
2024-11-21 8:10 ` Jinpu Wang
2024-11-21 8:33 ` Yu Kuai
2024-11-21 8:40 ` Jinpu Wang
2024-11-21 8:44 ` Yu Kuai
2024-11-21 8:46 ` Jinpu Wang
2024-11-21 9:30 ` Christian Theune
2024-11-21 11:01 ` Yu Kuai
2024-11-21 12:05 ` Christian Theune
2024-11-21 12:21 ` Christian Theune
2024-11-21 12:37 ` Yu Kuai
2024-11-21 16:14 ` Christian Theune
2024-11-22 2:06 ` [PATCH md-6.13 5/5] md/md-bitmap: move bitmap_{start, end}write to md upper layer Xiao Ni
2024-11-22 2:45 ` Yu Kuai [this message]
2024-11-22 3:14 ` Xiao Ni
2024-11-22 8:32 ` Yu Kuai
2024-11-23 3:55 ` Xiao Ni
2024-11-25 1:15 ` Yu Kuai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e6843d53-c7f4-2e38-0a15-91b49afec8f1@huaweicloud.com \
--to=yukuai1@huaweicloud.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-raid@vger.kernel.org \
--cc=song@kernel.org \
--cc=xni@redhat.com \
--cc=yangerkun@huawei.com \
--cc=yi.zhang@huawei.com \
--cc=yukuai3@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®