btrfs-progs: fsck: fix false warning on sprouted filesystems
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | btrfs-progs: check: fix wrong total bytes check for seed devicecheck/ | +12 | 2 replies | |
| 2/2 | btrfs-progs: fsck-tests: check warning for seed and sprouted filesystemstests/ | +51 | 5 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Su Yue |
|---|---|
| 1/2 | R-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] btrfs-progs: fsck: fix false warning on sprouted filesystems
During my attempt to utilize seed device at mkfs time, I found there there is a small bug that btrfs check always reports devices size related warning on the sprouted device.
It turns out we didn't iterate seed devices at all during btrfs check.
The first patch will fix the problem and enhance the warning output. The second one will add a regression test for it.
Qu Wenruo (2):
btrfs-progs: check: fix wrong total bytes check for seed device
btrfs-progs: fsck-tests: check warning for seed and sprouted
filesystems
check/main.c | 18 ++++--- .../fsck-tests/057-seed-false-alerts/test.sh | 51 +++++++++++++++++++ 2 files changed, 63 insertions(+), 6 deletions(-) create mode 100755 tests/fsck-tests/057-seed-false-alerts/test.sh
Signature · 1 line
2.35.1