linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Daniel Kiper <dkiper@net-space.pl>
To: Nick Terrell <terrelln@fb.com>
Cc: Daniel Kiper <dkiper@net-space.pl>,
	Goffredo Baroncelli <kreijack@libero.it>,
	"grub-devel@gnu.org" <grub-devel@gnu.org>,
	"linux-btrfs@vger.kernel.org" <linux-btrfs@vger.kernel.org>
Subject: Re: [PATCH V10] Add support for BTRFS raid5/6 to GRUB
Date: Wed, 31 Oct 2018 13:06:23 +0100	[thread overview]
Message-ID: <20181031120623.GA13223@router-fw-old.i.net-space.pl> (raw)
In-Reply-To: <2F6AF0F1-DD4A-4406-9319-431CB1783BF5@fb.com>

On Mon, Oct 22, 2018 at 07:49:40PM +0000, Nick Terrell wrote:
>
>
> > On Oct 22, 2018, at 4:02 AM, Daniel Kiper <dkiper@net-space.pl> wrote:
> >
> > On Thu, Oct 18, 2018 at 07:55:32PM +0200, Goffredo Baroncelli wrote:
> >>
> >> Hi All,
> >>
> >> the aim of this patches set is to provide support for a BTRFS raid5/6
> >> filesystem in GRUB.
> >>
> >> The first patch, implements the basic support for raid5/6. I.e this works when
> >> all the disks are present.
> >>
> >> The next 5 patches, are preparatory ones.
> >>
> >> The 7th patch implements the raid5 recovery for btrfs (i.e. handling the
> >> disappearing of 1 disk).
> >> The 8th patch makes the code for handling the raid6 recovery more generic.
> >> The last one implements the raid6 recovery for btrfs (i.e. handling the
> >> disappearing up to two disks).
> >>
> >> I tested the code in grub-emu, and it works both with all the disks,
> >> and with some disks missing. I checked the crc32 calculated from grub and
> >> from linux and these matched. Finally I checked if the support for md raid6
> >> still works properly, and it does (with all drives and with up to 2 drives
> >> missing)
> >>
> >> Comments are welcome.
> >
> > In general whole patch series LGTM. +/- some nit picks including changes
> > for patch #7. If you are OK with them and there are no objections then
> > I will apply the patches in a week or so.
>
> Awesome! I'll look for the update and send an rebased version of the zstd
> patch set when it is out.

v11 pushed.

Goffredo, thank you for doing the work.

Nick, you can go ahead and rebase yours patchset.

Daniel

  reply	other threads:[~2018-10-31 12:06 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-18 17:55 [PATCH V10] Add support for BTRFS raid5/6 to GRUB Goffredo Baroncelli
2018-10-18 17:55 ` [PATCH 1/9] btrfs: Add support for reading a filesystem with a RAID 5 or RAID 6 profile Goffredo Baroncelli
2018-10-18 17:55 ` [PATCH 2/9] btrfs: Add helper to check the btrfs header Goffredo Baroncelli
2018-10-18 17:55 ` [PATCH 3/9] btrfs: Move the error logging from find_device() to its caller Goffredo Baroncelli
2018-10-18 17:55 ` [PATCH 4/9] btrfs: Avoid a rescan for a device which was already not found Goffredo Baroncelli
2018-10-18 17:55 ` [PATCH 5/9] btrfs: Move logging code in grub_btrfs_read_logical() Goffredo Baroncelli
2018-10-18 17:55 ` [PATCH 6/9] btrfs: Refactor the code that read from disk Goffredo Baroncelli
2018-10-18 17:55 ` [PATCH 7/9] btrfs: Add support for recovery for a RAID 5 btrfs profiles Goffredo Baroncelli
2018-10-22 10:04   ` Daniel Kiper
2018-10-18 17:55 ` [PATCH 8/9] btrfs: Make more generic the code for RAID 6 rebuilding Goffredo Baroncelli
2018-10-18 17:55 ` [PATCH 9/9] btrfs: Add RAID 6 recovery for a btrfs filesystem Goffredo Baroncelli
2018-10-22 11:02 ` [PATCH V10] Add support for BTRFS raid5/6 to GRUB Daniel Kiper
2018-10-22 19:49   ` Nick Terrell
2018-10-31 12:06     ` Daniel Kiper [this message]
2018-10-31 18:48       ` Goffredo Baroncelli
2018-10-31 18:58         ` David Sterba
2018-11-09 12:39         ` Daniel Kiper

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=20181031120623.GA13223@router-fw-old.i.net-space.pl \
    --to=dkiper@net-space.pl \
    --cc=grub-devel@gnu.org \
    --cc=kreijack@libero.it \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=terrelln@fb.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).