All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] Btrfs support for RAID1C34
@ 2019-11-04 16:22 David Sterba
  2019-11-04 16:23 ` [PATCH 1/1] btrfs: add support for new raid1c34 profiles David Sterba
  0 siblings, 1 reply; 5+ messages in thread
From: David Sterba @ 2019-11-04 16:22 UTC (permalink / raw)
  To: grub-devel

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-11-29 15:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-04 16:22 [PATCH 0/1] Btrfs support for RAID1C34 David Sterba
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

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.