[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <77b6928d-020a-4df9-93b0-fef8ef38e891@oracle.com>
Date: Mon, 25 Nov 2024 08:55:19 +0000
From: John Garry <john.g.garry@...cle.com>
To: Sasha Levin <sashal@...nel.org>, linux-kernel@...r.kernel.org,
stable@...r.kernel.org
Cc: Yu Kuai <yukuai3@...wei.com>, Hannes Reinecke <hare@...e.de>,
Jens Axboe <axboe@...nel.dk>, song@...nel.org,
linux-raid@...r.kernel.org
Subject: Re: [PATCH AUTOSEL 6.12 16/19] md/raid1: Handle bio_split() errors
On 24/11/2024 12:38, Sasha Levin wrote:
> From: John Garry<john.g.garry@...cle.com>
>
> [ Upstream commit b1a7ad8b5c4fa28325ee7b369a2d545d3e16ccde ]
>
> Add proper bio_split() error handling. For any error, call
> raid_end_bio_io() and return.
>
> For the case of an in the write path, we need to undo the increment in
> the rdev pending count and NULLify the r1_bio->bios[] pointers.
>
> For read path failure, we need to undo rdev pending count increment from
> the earlier read_balance() call.
>
> Reviewed-by: Yu Kuai<yukuai3@...wei.com>
> Reviewed-by: Hannes Reinecke<hare@...e.de>
> Signed-off-by: John Garry<john.g.garry@...cle.com>
> Link:https://urldefense.com/v3/__https://lore.kernel.org/
> r/20241111112150.3756529-6-john.g.garry@...cle.com__;!!ACWV5N9M2RV99hQ!
> N4dieLgwxARnrFj9y51O80wHlzi_DtX0LRE-
> kw6X6c0oWji1y3NBy1HIbHaHEkfRZJ57mxEq0kY_YRAnPg$
> Signed-off-by: Jens Axboe<axboe@...nel.dk>
> Signed-off-by: Sasha Levin<sashal@...nel.org>
I don't think that it is proper to backport this change without
bio_split() error handling update. And I don't think that it is worth
backporting the bio_split() error handling update.
Powered by blists - more mailing lists