All of lore.kernel.org
 help / color / mirror / Atom feed
From: stephane_btrfs@lesimple.fr
To: linux-btrfs@vger.kernel.org
Cc: "Stéphane Lesimple" <stephane_btrfs@lesimple.fr>
Subject: [PATCH 0/1] btrfs-progs: fi usage: implement raid56
Date: Sun, 17 Mar 2019 13:51:49 +0100	[thread overview]
Message-ID: <20190317125150.26265-1-stephane_btrfs@lesimple.fr> (raw)

From: Stéphane Lesimple <stephane_btrfs@lesimple.fr>

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


             reply	other threads:[~2019-03-17 12:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-17 12:51 stephane_btrfs [this message]
2019-03-17 12:51 ` [PATCH 1/1] btrfs-progs: fi usage: implement raid56 stephane_btrfs
2019-03-17 18:41   ` Goffredo Baroncelli
2019-03-18 19:12     ` Stéphane Lesimple
2019-03-18 21:05       ` Goffredo Baroncelli
2019-03-17 23:23   ` Hans van Kranenburg
2019-03-18 19:41     ` Stéphane Lesimple
2019-03-19  1:14       ` Hans van Kranenburg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190317125150.26265-1-stephane_btrfs@lesimple.fr \
    --to=stephane_btrfs@lesimple.fr \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.