2017-05-09 18:30:25 |
Christian Brauner |
bug |
|
|
added bug |
2017-05-09 18:30:25 |
Christian Brauner |
attachment added |
|
0001-btrfs-progs-send-fail-on-first-ENODATA-only.patch https://bugs.launchpad.net/bugs/1689621/+attachment/4874273/+files/0001-btrfs-progs-send-fail-on-first-ENODATA-only.patch |
|
2017-05-09 18:30:56 |
Christian Brauner |
btrfs (Ubuntu): assignee |
|
Stéphane Graber (stgraber) |
|
2017-05-09 19:16:47 |
Stéphane Graber |
nominated for series |
|
Ubuntu Zesty |
|
2017-05-09 19:16:47 |
Stéphane Graber |
bug task added |
|
btrfs (Ubuntu Zesty) |
|
2017-05-09 19:17:13 |
Stéphane Graber |
affects |
btrfs (Ubuntu) |
btrfs-progs (Ubuntu) |
|
2017-05-09 19:57:01 |
Stéphane Graber |
description |
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. |
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 |
|
2017-05-09 19:58:46 |
Stéphane Graber |
btrfs-progs (Ubuntu Zesty): status |
New |
In Progress |
|
2017-05-09 19:58:50 |
Stéphane Graber |
btrfs-progs (Ubuntu): status |
New |
Fix Committed |
|
2017-05-09 20:23:53 |
Ubuntu Foundations Team Bug Bot |
tags |
|
patch |
|
2017-05-09 20:24:02 |
Ubuntu Foundations Team Bug Bot |
bug |
|
|
added subscriber Ubuntu Review Team |
2017-05-09 20:47:41 |
Launchpad Janitor |
btrfs-progs (Ubuntu): status |
Fix Committed |
Fix Released |
|
2017-05-12 08:30:01 |
Łukasz Zemczak |
btrfs-progs (Ubuntu Zesty): status |
In Progress |
Fix Committed |
|
2017-05-12 08:30:03 |
Łukasz Zemczak |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2017-05-12 08:30:07 |
Łukasz Zemczak |
bug |
|
|
added subscriber SRU Verification |
2017-05-12 08:30:11 |
Łukasz Zemczak |
tags |
patch |
patch verification-needed |
|
2017-05-12 15:37:33 |
Christian Brauner |
tags |
patch verification-needed |
patch verification-done |
|
2017-05-18 13:22:38 |
pfaelzerchen |
bug |
|
|
added subscriber pfaelzerchen |
2017-05-24 10:37:00 |
Launchpad Janitor |
btrfs-progs (Ubuntu Zesty): status |
Fix Committed |
Fix Released |
|
2017-05-24 10:37:05 |
Chris J Arges |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|