From: Stéphane Lesimple <stephane_btrfs@xxxxxxxxxxx> For several years now, we've been missing RAID56 code in the `filesystem usage' btrfs subcommand. This is my try at implementing it. I don't have any production array using raid5 or raid6 yet, but I've tried different combinations of devloop test filesystems with different number of devices with different sizes. And the reported informations always seem correct. Comments are obviously welcome. The diff can also be seen at: https://github.com/kdave/btrfs-progs/compare/devel...speed47:raid56 Stéphane Lesimple (1): btrfs-progs: fi usage: implement raid56 cmds-fi-usage.c | 96 ++++++++++++++++++++++++++++++------------------- 1 file changed, 60 insertions(+), 36 deletions(-) -- 2.17.1
