[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <cf6d7be1-af73-216c-b2ab-b34a8890450d@huaweicloud.com>
Date: Mon, 30 Jun 2025 10:25:38 +0800
From: Yu Kuai <yukuai1@...weicloud.com>
To: Xiao Ni <xni@...hat.com>, Yu Kuai <yukuai1@...weicloud.com>, hch@....de,
colyli@...nel.org, song@...nel.org
Cc: linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-raid@...r.kernel.org, yi.zhang@...wei.com, yangerkun@...wei.com,
johnny.chenyi@...wei.com, "yukuai (C)" <yukuai3@...wei.com>
Subject: Re: [PATCH 16/23] md/md-llbitmap: implement bit state machine
Hi,
在 2025/06/30 10:14, Xiao Ni 写道:
> For reload action, it runs continue here.
No one can concurent with reload.
>
> And doesn't it need a lock when reading the state?
Notice that from IO path, all concurrent context are doing the same
thing, it doesn't matter if old state or new state are read. If old
state is read, it will write new state in memory again; if new state is
read, it just do nothing.
Thanks,
Kuai
Powered by blists - more mailing lists