Grub Development Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: David Sterba <dave@jikos.cz>
To: grub-devel@gnu.org
Subject: [PATCH 0/1] Btrfs support for RAID1C34
Date: Mon, 4 Nov 2019 17:22:54 +0100	[thread overview]
Message-ID: <cover.1572879417.git.dsterba@suse.com> (raw)

Hi,

btrfs is going to get support for 3- and 4-copy RAID1,
https://lore.kernel.org/linux-btrfs/cover.1572534591.git.dsterba@suse.com/

This patch adds the support. The code changes are minimal, it's
essentially only extension of what RAID1 does.

I haven't tested it though, the docs don't see to cover filesystem
support testing. What I tried:

* make btrfs_test
* ./btrfs_test

It did not find any compressible file from the candidate list, I wonder
why a dummy zero-filled file cannot be created instead.

Then running it seems to create only the default profile of the images
(mkfs prints only single/dup for data and metadata), the following
message seems to repeat without any real progress:

--
Label:              grub_;/testé莭莽😁киритi urewfceniuewruevrewnuuireurevueurnievrewfnerfcnevirivinrewvnirewnivrewiuvcrewvnuewvrrrewniuerwreiuviurewiuviurewnuvewnvrenurnunuvrevuurerejiremvreijnvcreivire nverivnreivrevnureiorfnfrvoeoiroireoireoifrefoieroifoireoi
UUID:               f6d3e26c-4d6c-407d-b981-7aa6d842578a
Node size:          16384
Sector size:        4096
Filesystem size:    5.66GiB
Block group profiles:
  Data:             single            8.00MiB
  Metadata:         DUP             256.00MiB
  System:           DUP               8.00MiB
SSD detected:       no
Incompat features:  extref, skinny-metadata
Number of devices:  1
Devices:
   ID        SIZE  PATH
    1     5.66GiB  /dev/loop0

Device proc: Filesystem type procfs - Sector size 512B - Total size 0KiB
Device loop0: Filesystem type btrfs - Label `grub_;/testé莭莽😁киритi urewfceniuewruevrewnuuireurevueurnievrewfnerfcnevirivinrewvnirewnivrewiuvcrewvnuewvrrrewniuerwreiuviurewiuviurewnuvewnvrenurnunuvrevuurerejiremvreijnvcreivire nverivnreivrevnureiorfnfrvoeoiroireoireoifrefoieroifoireoi', UUID f6d3e26c-4d6c-407d-b981-7aa6d842578a - Sector size 512B - Total size 5939200KiB
Device host: Filesystem type hostfs - Sector size 512B - Total size 0KiB

umount: /tmp/tmp.1I3JDrkI64/btrfs_zstd_rw: not mounted.
--

There must be something I'm missing, please advise. Thanks.


David Sterba (1):
  btrfs: add support for new raid1c34 profiles

 grub-core/fs/btrfs.c | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

-- 
2.23.0



             reply	other threads:[~2019-11-04 16:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-04 16:22 David Sterba [this message]
2019-11-04 16:23 ` [PATCH 1/1] btrfs: add support for new raid1c34 profiles David Sterba
2019-11-05 12:18   ` Daniel Kiper
2019-11-27 12:56     ` David Sterba
2019-11-29 15:38       ` 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=cover.1572879417.git.dsterba@suse.com \
    --to=dave@jikos.cz \
    --cc=grub-devel@gnu.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox