[Bug 1689621] Re: fix empty subvolume send and receive
Ubuntu Foundations Team Bug Bot
1689621 at bugs.launchpad.net
Tue May 9 20:24:03 UTC 2017
The attachment "0001-btrfs-progs-send-fail-on-first-ENODATA-only.patch"
seems to be a patch. If it isn't, please remove the "patch" flag from
the attachment, remove the "patch" tag, and if you are a member of the
~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issues please contact him.]
** Tags added: patch
--
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 Committed
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