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.