[Bug 1689621] Re: fix empty subvolume send and receive

Launchpad Bug Tracker 1689621 at bugs.launchpad.net
Tue May 9 20:47:41 UTC 2017


This bug was fixed in the package btrfs-progs - 4.9.1-1ubuntu2

---------------
btrfs-progs (4.9.1-1ubuntu2) artful; urgency=medium

  * Cherry-pick follow-up fix from upstream (LP: #1689621):
    - 0003-btrfs-progs-send-fail-on-first-ENODATA-only.patch

 -- Stéphane Graber <stgraber at ubuntu.com>  Tue, 09 May 2017 15:18:10
-0400

** Changed in: btrfs-progs (Ubuntu)
       Status: Fix Committed => Fix Released

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

Title:
  fix empty subvolume send and receive

Status in btrfs-progs package in Ubuntu:
  Fix Released
Status in btrfs-progs source package in Zesty:
  In Progress

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

  == Rationale ==
  The previous btrfs bugfix while it fixed the issue we found back then, also introduced a regression for some other users. This issue was reported upstream and fixed by Christian (author of the original patch). This regression fix has been merged by btrfs upstream and should be included in Ubuntu.

  == Testcase ==
  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.

  == Regression potential ==
  The previous fix for this issue introduced a regression, so it's clearly not impossible that this may introduce yet another one.

  Both this and the previous patch were reviewed and merged upstream,
  including a testcase, so nothing that we know about or that upstream
  knows about should regress.

  btrfs upstream (https://bugzilla.kernel.org/attachment.cgi?id=256157

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/btrfs-progs/+bug/1689621/+subscriptions



More information about the foundations-bugs mailing list