[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <abb47ea9-f269-49db-9f39-604448699a77@linux.ibm.com>
Date: Fri, 20 Jun 2025 20:01:57 +0530
From: Nilay Shroff <nilay@...ux.ibm.com>
To: John Garry <john.g.garry@...cle.com>, agk@...hat.com, snitzer@...nel.org,
mpatocka@...hat.com, song@...nel.org, yukuai3@...wei.com, hch@....de,
axboe@...nel.dk
Cc: dm-devel@...ts.linux.dev, linux-kernel@...r.kernel.org,
linux-raid@...r.kernel.org, linux-block@...r.kernel.org,
ojaswin@...ux.ibm.com, martin.petersen@...cle.com
Subject: Re: [PATCH v2 2/5] md/raid0: set chunk_sectors limit
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.garry@...cle.com>
Looks good to me:
Reviewed-by: Nilay Shroff <nilay@...ux.ibm.com>
Powered by blists - more mailing lists