Re: [PATCH 14/17] md/raid6: refactor raid5_read_one_chunk

2021-01-26 Thread Song Liu
On Tue, Jan 26, 2021 at 7:19 AM Christoph Hellwig wrote: > > Refactor raid5_read_one_chunk so that all simple checks are done > before allocating the bio. > > Signed-off-by: Christoph Hellwig Acked-by: Song Liu Thanks for the clean-up! > --- > drivers/md/raid5.c | 108 +++---

[PATCH 14/17] md/raid6: refactor raid5_read_one_chunk

2021-01-26 Thread Christoph Hellwig
Refactor raid5_read_one_chunk so that all simple checks are done before allocating the bio. Signed-off-by: Christoph Hellwig --- drivers/md/raid5.c | 108 +++-- 1 file changed, 45 insertions(+), 63 deletions(-) diff --git a/drivers/md/raid5.c b/drivers/md