On 8/2/25 01:47, Keith Busch wrote:
From: Keith Busch <kbusch@xxxxxxxxxx> We're already iterating every segment, so check alignment for a valid IO at the same time. We had depended on these constraints were already checked prior to splitting, but let's put more responsibility here since splitting iterates each segment before dispatching to the driver anyway. This way, upper layers don't need to concern themselves with it. Signed-off-by: Keith Busch <kbusch@xxxxxxxxxx> --- block/blk-merge.c | 5 +++++ 1 file changed, 5 insertions(+)
Reviewed-by: Hannes Reinecke <hare@xxxxxxx> Cheers, Hannes -- Dr. Hannes Reinecke Kernel Storage Architect hare@xxxxxxx +49 911 74053 688 SUSE Software Solutions GmbH, Frankenstr. 146, 90461 Nürnberg HRB 36809 (AG Nürnberg), GF: I. Totev, A. McDonald, W. Knoblich