[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 7/8] Make more generic the code for raid6 rebuilding
From: |
Daniel Kiper |
Subject: |
Re: [PATCH 7/8] Make more generic the code for raid6 rebuilding |
Date: |
Tue, 15 May 2018 14:29:42 +0200 |
User-agent: |
Mutt/1.3.28i |
On Mon, May 14, 2018 at 10:52:11PM +0200, Goffredo Baroncelli wrote:
> On 05/14/2018 08:57 PM, Daniel Kiper wrote:
> > On Fri, May 11, 2018 at 09:24:45PM +0200, Goffredo Baroncelli wrote:
> [...]
> >
> >> + char *buf, grub_uint64_t sector, grub_size_t size,
> >> + raid_recover_read_t read_func, int layout)
> >
> > s/read_func/read_node/
> >
> > Hmmm... Could not you create a struct for this call?
>
> What do you mean ? Do you mean passing a (pointer of a) struct instead of
> passing all these arguments ?
Exactly!
Daniel
[PATCH 2/8] Add helper to check the btrfs header., Goffredo Baroncelli, 2018/05/11
[PATCH 6/8] Add support for recovery for a raid5 btrfs profiles., Goffredo Baroncelli, 2018/05/11
[PATCH 8/8] Add raid6 recovery for a btrfs filesystem., Goffredo Baroncelli, 2018/05/11
[PATCH V3] Add support for BTRFS raid5/6 to GRUB, Goffredo Baroncelli, 2018/05/11
[PATCH V3] Add support for BTRFS raid5/6 to GRUB, Goffredo Baroncelli, 2018/05/11