grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/1] Btrfs support for RAID1C34


From: David Sterba
Subject: [PATCH 0/1] Btrfs support for RAID1C34
Date: Mon, 4 Nov 2019 17:22:54 +0100
User-agent: Mutt/1.4.2.2i

Hi,

btrfs is going to get support for 3- and 4-copy RAID1,
https://lore.kernel.org/linux-btrfs/address@hidden/

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 via email to

[Prev in Thread] Current Thread [Next in Thread]