lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ccba7e70-b0f2-e744-2271-2d86bed364d0@huaweicloud.com>
Date: Mon, 12 May 2025 16:30:24 +0800
From: Yu Kuai <yukuai1@...weicloud.com>
To: Christoph Hellwig <hch@....de>, Yu Kuai <yukuai1@...weicloud.com>
Cc: xni@...hat.com, colyli@...nel.org, agk@...hat.com, snitzer@...nel.org,
 mpatocka@...hat.com, song@...nel.org, 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,
 "yukuai (C)" <yukuai3@...wei.com>
Subject: Re: [PATCH RFC md-6.16 v3 19/19] md/md-llbitmap: add Kconfig

Hi,

在 2025/05/12 13:19, Christoph Hellwig 写道:
> 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.

Ok, I'll fold them with the new patch to move some values to md-bitmap.h
in the next version.

Thanks,
Kuai

> 
> .
> 


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ