[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ac112584-ae97-f7e6-a593-f75c5d22d3b9@linux.dev>
Date: Thu, 28 Apr 2022 09:16:49 +0800
From: Guoqing Jiang <guoqing.jiang@...ux.dev>
To: Logan Gunthorpe <logang@...tatee.com>,
linux-kernel@...r.kernel.org, linux-raid@...r.kernel.org,
Song Liu <song@...nel.org>
Cc: Christoph Hellwig <hch@...radead.org>,
Stephen Bates <sbates@...thlin.com>,
Martin Oliveira <Martin.Oliveira@...eticom.com>,
David Sloan <David.Sloan@...eticom.com>
Subject: Re: [PATCH v2 02/12] md/raid5: Refactor raid5_make_request loop
On 4/28/22 12:08 AM, Logan Gunthorpe wrote:
>
>>> + if (unlikely(!sh)) {
>>> + /* cannot get stripe, just give-up */
>>> + bi->bi_status = BLK_STS_IOERR;
>>> + break;
>>> + }
>>
>> Nit, I would suggest to keep below original comment.
> But the original comment was plainly wrong...
I think it was for get stripe for read-ahead.
https://elixir.bootlin.com/linux/v5.18-rc4/source/drivers/md/raid5.c#L5869
And it deserves a separate change if you think the comment is wrong, but
just my $0.02.
Thanks,
Guoqing
Powered by blists - more mailing lists