Re: [PATCH v1 1/8] md/raid5: Refactor raid5_make_request loop

From: Christoph Hellwig
Date: Fri Apr 08 2022 - 01:58:57 EST


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@xxxxxx>