commit | e82ed3a4fbb54b2d7dcb2a7733520f3e10b97abf | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Jan 26 15:52:44 2021 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Jan 27 09:51:48 2021 -0700 |
tree | 3c9c99e91b413a52bf0270f1c415250e21830104 | |
parent | 6a5965696856f5dc6834f351f093cc99bf2f03c8 [diff] |
md/raid6: refactor raid5_read_one_chunk Refactor raid5_read_one_chunk so that all simple checks are done before allocating the bio. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Song Liu <song@kernel.org> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> Acked-by: Damien Le Moal <damien.lemoal@wdc.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>