On 6/18/25 2:07 PM, John Garry wrote: > Currently we use min io size as the chunk size when deciding on the > atomic write size limits - see blk_stack_atomic_writes_head(). > > The limit min_io size is not a reliable value to store the chunk size, as > this may be mutated by the block stacking code. Such an example would be > for the min io size less than the physical block size, and the min io size > is raised to the physical block size - see blk_stack_limits(). > > The block stacking limits will rely on chunk_sectors in future, > so set this value (to the chunk size). > > Signed-off-by: John Garry <john.g.ga...@oracle.com> Looks good to me: Reviewed-by: Nilay Shroff <ni...@linux.ibm.com>
- [PATCH v2 4/5] dm-stripe: limit chunk_sectors to the st... John Garry
- Re: [PATCH v2 4/5] dm-stripe: limit chunk_sectors ... Nilay Shroff
- Re: [PATCH v2 4/5] dm-stripe: limit chunk_sectors ... Mikulas Patocka
- [PATCH v2 3/5] md/raid10: set chunk_sectors limit John Garry
- [PATCH v2 5/5] block: use chunk_sectors when evaluating... John Garry
- Re: [PATCH v2 5/5] block: use chunk_sectors when e... Martin K. Petersen
- Re: [PATCH v2 5/5] block: use chunk_sectors when e... Nilay Shroff
- [PATCH v2 2/5] md/raid0: set chunk_sectors limit John Garry
- Re: [PATCH v2 2/5] md/raid0: set chunk_sectors lim... Nilay Shroff
- Re: [PATCH v2 2/5] md/raid0: set chunk_sectors lim... Yu Kuai
- Re: [PATCH v2 0/5] block/md/dm: set chunk_sectors from ... Nilay Shroff
- Re: [PATCH v2 0/5] block/md/dm: set chunk_sectors from ... John Garry