[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250512051910.GC1667@lst.de>
Date: Mon, 12 May 2025 07:19:10 +0200
From: Christoph Hellwig <hch@....de>
To: Yu Kuai <yukuai1@...weicloud.com>
Cc: hch@....de, xni@...hat.com, colyli@...nel.org, agk@...hat.com,
snitzer@...nel.org, mpatocka@...hat.com, song@...nel.org,
yukuai3@...wei.com, linux-kernel@...r.kernel.org,
dm-devel@...ts.linux.dev, linux-raid@...r.kernel.org,
yi.zhang@...wei.com, yangerkun@...wei.com, johnny.chenyi@...wei.com
Subject: Re: [PATCH RFC md-6.16 v3 19/19] md/md-llbitmap: add Kconfig
On Mon, May 12, 2025 at 09:19:27AM +0800, Yu Kuai wrote:
> +config MD_LLBITMAP
> + bool "MD RAID lockless bitmap support"
> + default n
n is the default default.
> diff --git a/drivers/md/md-bitmap.h b/drivers/md/md-bitmap.h
> index 4e27f5f793b7..dd23b6fedb70 100644
> --- a/drivers/md/md-bitmap.h
> +++ b/drivers/md/md-bitmap.h
> @@ -22,6 +22,9 @@ typedef __u16 bitmap_counter_t;
> enum bitmap_state {
> BITMAP_STALE = 1, /* the bitmap file is out of date or had -EIO */
> BITMAP_WRITE_ERROR = 2, /* A write error has occurred */
> + BITMAP_FIRST_USE = 3, /* llbitmap is just created */
> + BITMAP_CLEAN = 4, /* llbitmap is created with assume_clean */
> + BITMAP_DAEMON_BUSY = 5, /* llbitmap daemon is not finished after daemon_sleep */
This should go into patches very early in the series, before the code
referencing them.
Powered by blists - more mailing lists