Re: [PATCH v3 11/11] md/md-llbitmap: introduce new lockless bitmap

2025-07-21 Thread Hannes Reinecke
On 7/21/25 09:12, Yu Kuai wrote: Hi, 在 2025/07/21 14:20, Hannes Reinecke 写道: On 7/18/25 11:23, Yu Kuai wrote: From: Yu Kuai + +#define BITMAP_DATA_OFFSET 1024 + +/* 64k is the max IO size of sync IO for raid1/raid10 */ +#define MIN_CHUNK_SIZE (64 * 2) + Hmm? Which one is it? Comment say

Re: [PATCH v3 11/11] md/md-llbitmap: introduce new lockless bitmap

2025-07-21 Thread Yu Kuai
Hi, 在 2025/07/21 14:20, Hannes Reinecke 写道: On 7/18/25 11:23, Yu Kuai wrote: From: Yu Kuai + +#define BITMAP_DATA_OFFSET 1024 + +/* 64k is the max IO size of sync IO for raid1/raid10 */ +#define MIN_CHUNK_SIZE (64 * 2) + Hmm? Which one is it? Comment says 'max IO size', but it's called '

Re: [PATCH v3 11/11] md/md-llbitmap: introduce new lockless bitmap

2025-07-20 Thread Hannes Reinecke
On 7/18/25 11:23, Yu Kuai wrote: From: Yu Kuai Redundant data is used to enhance data fault tolerance, and the storage method for redundant data vary depending on the RAID levels. And it's important to maintain the consistency of redundant data. Bitmap is used to record which data blocks have