[Bug 1689621] [NEW] fix empty subvolume send and receive

Launchpad Bug Tracker 1689621 at bugs.launchpad.net
Tue May 9 19:17:14 UTC 2017


You have been subscribed to a public bug:

The original report can be found here:
https://bugzilla.kernel.org/show_bug.cgi?id=195597

The reproducer for this issue is:

truncate -s 10GB pool.btrfs
mkfs.btrfs pool.btrfs
mount -t btrfs pool.btrfs /mnt
btrfs subvolume create /mnt/a
btrfs subvolume snapshot /mnt/a /mnt/snap-a
btrfs send /mnt/snap-a | btrfs receive /mnt/a

should incorrectly fail with

ERROR: empty stream is not considered valid

whereas it should actually succeed. I've pushed a patch
for this to btrfs upstream (https://bugzilla.kernel.org/attachment.cgi?id=256157)
which is already merged. We should SRU it.

** Affects: btrfs-progs (Ubuntu)
     Importance: Undecided
     Assignee: Stéphane Graber (stgraber)
         Status: New

** Affects: btrfs-progs (Ubuntu Zesty)
     Importance: Undecided
         Status: New

-- 
fix empty subvolume send and receive
https://bugs.launchpad.net/bugs/1689621
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to btrfs-progs in Ubuntu.



More information about the foundations-bugs mailing list