Re: [PATCH 5/8] Refactor the code that read from disk

2018-05-14 Thread Daniel Kiper
On Mon, May 14, 2018 at 08:26:40PM +0200, Daniel Kiper wrote: > It looks that patch 4 is missing in this series. > > On Fri, May 11, 2018 at 09:24:43PM +0200, Goffredo Baroncelli wrote: > > This is a preparatory patch, to help the adding of the raid5/6 recovery > > code. > > In case of availabilit

Re: [PATCH 5/8] Refactor the code that read from disk

2018-05-14 Thread Daniel Kiper
It looks that patch 4 is missing in this series. On Fri, May 11, 2018 at 09:24:43PM +0200, Goffredo Baroncelli wrote: > This is a preparatory patch, to help the adding of the raid5/6 recovery code. > In case of availability of all disks, this code is good for all the RAID > profiles. However in ca

[PATCH 5/8] Refactor the code that read from disk

2018-05-11 Thread Goffredo Baroncelli
This is a preparatory patch, to help the adding of the raid5/6 recovery code. In case of availability of all disks, this code is good for all the RAID profiles. However in case of failure, the error handling is quite different. Refactoring this code increases the general readability. Signed-off-by