[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Yk/PGeQDgz/rCfOz@infradead.org>
Date: Thu, 7 Apr 2022 22:58:49 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Logan Gunthorpe <logang@...tatee.com>
Cc: linux-kernel@...r.kernel.org, linux-raid@...r.kernel.org,
Song Liu <song@...nel.org>, Shaohua Li <shli@...nel.org>,
Guoqing Jiang <guoqing.jiang@...ux.dev>,
Stephen Bates <sbates@...thlin.com>,
Martin Oliveira <Martin.Oliveira@...eticom.com>,
David Sloan <David.Sloan@...eticom.com>
Subject: Re: [PATCH v1 1/8] md/raid5: Refactor raid5_make_request loop
On Thu, Apr 07, 2022 at 10:45:04AM -0600, Logan Gunthorpe wrote:
> + spin_lock_irq(&conf->device_lock);
> + if (mddev->reshape_backwards
> + ? logical_sector >= conf->reshape_progress
> + : logical_sector < conf->reshape_progress)
Normal kernel style is to have the operators at the end of the previous
line (and the whole reshape_backwards handlign is ripe for a bunhc
of well contained helpers).
Otherwise looks good:
Reviewed-by: Christoph Hellwig <hch@....de>
Powered by blists - more mailing lists