Re: [PATCH v2 1/5] block: sanitize chunk_sectors for atomic write limits

2025-06-20 Thread Nilay Shroff
On 6/18/25 2:07 PM, John Garry wrote: > Currently we just ensure that a non-zero value in chunk_sectors aligns > with any atomic write boundary, as the blk boundary functionality uses > both these values. > > However it is also improper to have atomic write unit max > chunk_sectors > (for non-z

[PATCH v2 1/5] block: sanitize chunk_sectors for atomic write limits

2025-06-18 Thread John Garry
Currently we just ensure that a non-zero value in chunk_sectors aligns with any atomic write boundary, as the blk boundary functionality uses both these values. However it is also improper to have atomic write unit max > chunk_sectors (for non-zero chunk_sectors), as this would lead to splitting o