Skip to content

btrfs-progs: fsck: fix false warning on sprouted filesystems

Qu Wenruo linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2btrfs-progs: check: fix wrong total bytes check for seed devicecheck/main.c+12 -62 replies
2/2btrfs-progs: fsck-tests: check warning for seed and sprouted filesystemstests/fsck-tests/057-seed-false-alerts/test.sh+51 -05 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchSu Yue
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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