Re: [RFC] lib: raid: New RAID library supporting up to six parities

2014-01-07 Thread Andrea Mazzoleni
Hi Neil, On 01/07, NeilBrown wrote: > > To do the same with up to six failures, it's now required some kind of sort > > function. > > So I would probably just make sure we always process the block is the "right" > order. Then sorting would be irrelevant. > But as I say, I haven't fiddled with

Re: [RFC] lib: raid: New RAID library supporting up to six parities

2014-01-07 Thread Andrea Mazzoleni
Hi Neil, On 01/07, NeilBrown wrote: To do the same with up to six failures, it's now required some kind of sort function. So I would probably just make sure we always process the block is the right order. Then sorting would be irrelevant. But as I say, I haven't fiddled with the code,

Re: [RFC] lib: raid: New RAID library supporting up to six parities

2014-01-06 Thread NeilBrown
On Mon, 6 Jan 2014 10:45:23 +0100 Andrea Mazzoleni wrote: > Hi Neil, > > Thanks for your feedback. In the meantime I went further in developing and > I've just sent version 2 of the patch, that contains a preliminary btrfs > modification to use the new interface. > > Please use this one for

Re: [RFC] lib: raid: New RAID library supporting up to six parities

2014-01-06 Thread NeilBrown
On Mon, 6 Jan 2014 10:45:23 +0100 Andrea Mazzoleni amadva...@gmail.com wrote: Hi Neil, Thanks for your feedback. In the meantime I went further in developing and I've just sent version 2 of the patch, that contains a preliminary btrfs modification to use the new interface. Please use