Re: [PATCH 00/23] md/llbitmap: md/md-llbitmap: introduce a new lockless bitmap

From: Yu Kuai
Date: Mon Jun 30 2025 - 02:09:49 EST


Hi,

在 2025/06/30 13:38, Xiao Ni 写道:
I don't quite understand, in my case, mdadm -As works fine.
Sorry for this, I forgot I removed the codes in function llbitmap_state_machine
//if (c == BitNeedSync)
// need_resync = true;
Ok.

The reason I do this: I find if the status table changes like this, it
doesn't need to check the original status anymore
- [BitmapActionReload] = BitNone,
+ [BitmapActionReload] = BitNeedSync,//?

However, we don't want do dirty the bitmap page in this case, as nothing
chagned in the bitmap. And because of this, we have to check the old
value anyway...

Thanks,
Kuai