Re: [PATCH 4/6] btrfs: fix ncopies raid_attr for RAID56

2018-10-05 Thread Nikolay Borisov
On 5.10.2018 00:24, Hans van Kranenburg wrote: > RAID5 and RAID6 profile store one copy of the data, not 2 or 3. These > values are not used anywhere by the way. > > Signed-off-by: Hans van Kranenburg Reviewed-by: Nikolay Borisov > --- > fs/btrfs/volumes.c | 4 ++-- > 1 file changed, 2 in

[PATCH 4/6] btrfs: fix ncopies raid_attr for RAID56

2018-10-04 Thread Hans van Kranenburg
RAID5 and RAID6 profile store one copy of the data, not 2 or 3. These values are not used anywhere by the way. Signed-off-by: Hans van Kranenburg --- fs/btrfs/volumes.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index 7045814fc