[Bug 1689621] Re: fix empty subvolume send and receive
Łukasz Zemczak
1689621 at bugs.launchpad.net
Fri May 12 08:30:12 UTC 2017
Hello Christian, or anyone else affected,
Accepted btrfs-progs into zesty-proposed. The package will build now and
be available at https://launchpad.net/ubuntu/+source/btrfs-
progs/4.9.1-1ubuntu1.1 in a few hours, and then in the -proposed
repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed. In either case, details of your testing will help
us make a better decision.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance!
** Changed in: btrfs-progs (Ubuntu Zesty)
Status: In Progress => Fix Committed
** Tags added: verification-needed
--
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:
Fix Committed
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