[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aUERRp7S1A5YXCm4@infradead.org>
Date: Mon, 15 Dec 2025 23:59:02 -0800
From: Christoph Hellwig <hch@...radead.org>
To: Andreas Gruenbacher <agruenba@...hat.com>
Cc: Christoph Hellwig <hch@...radead.org>, Jens Axboe <axboe@...nel.dk>,
Chris Mason <clm@...com>, David Sterba <dsterba@...e.com>,
linux-block@...r.kernel.org, linux-btrfs@...r.kernel.org,
linux-raid@...r.kernel.org, dm-devel@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: Re: [RFC 06/12] bio: don't check target->bi_status on error
On Mon, Dec 08, 2025 at 12:10:13PM +0000, Andreas Gruenbacher wrote:
> In a few places, target->bi_status is set to source->bi_status only if
> source->bi_status is not 0 and target->bi_status is (still) 0. Here,
> checking the value of target->bi_status before setting it is an
> unnecessary micro optimization because we are already on an error path.
What is source and target here? I have a hard time trying to follow
what this is trying to do.
Powered by blists - more mailing lists