On Mon, May 26, 2025 at 04:12:06PM +0800, Yu Kuai wrote: >>> +#define BITMAP_SB_SIZE 1024 >> >> And while we're at it: this is still duplicated in llbitmap.c later. >> But shouldn't it simply be replaced with a sizeof on struct bitmap_super_s? > > Sorry that I forgot to explain why it's still in .c > > sizeof(struct bitmap_super_s) is actually 256 bytes, while by default, > 1k is reserved, perhaps I can name it as BITMAP_DATA_OFFSET ? Sounds good.