[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250526064013.GE12811@lst.de>
Date: Mon, 26 May 2025 08:40:13 +0200
From: Christoph Hellwig <hch@....de>
To: Yu Kuai <yukuai1@...weicloud.com>
Cc: hch@....de, xni@...hat.com, colyli@...nel.org, song@...nel.org,
yukuai3@...wei.com, 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
Subject: Re: [PATCH 12/23] md/md-bitmap: add macros for lockless bitmap
On Sat, May 24, 2025 at 02:13:09PM +0800, Yu Kuai wrote:
> From: Yu Kuai <yukuai3@...wei.com>
>
> Also move other values to md-bitmap.h and update comments.
Hmm. The commit message looks very confusing to me.
I think this should be two patches:
1) move defines relevant to the disk format from md-bitmap.c to md-bitmap.h
2) add new bits for llbitmap (and explain what they are).
> +#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?
(and when cleaning thing up, rename that to bitmap_super without
the _s and use it instead of the typedef at least for all new code)?
Powered by blists - more mailing lists