btrfs-progs: check: add the ability to detect and report mixed inline and regular data extents
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | btrfs-progs: check/original: add the "0x" prefix for hex error numbercheck/ | +1 | 0 replies | |
| 2/4 | btrfs-progs: check/original: detect and report mixed inline and regular data extentscheck/ check/ | +7 | 0 replies | |
| 3/4 | btrfs-progs: check/lowmem: detect and report mixed inline and regular extents properlycheck/ | +27 | 0 replies | |
| 4/4 | btrfs-progs: fsck-tests: add test image for mixed inline and regular data extentstests/ tests/ | +19 | 0 replies |
Reviews trailers per patch
None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Su Yue |
|---|---|
| Series | R-b |
| 1/4 | |
| 2/4 | |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] btrfs-progs: check: add the ability to detect and report mixed inline and regular data extents
Btrfs check original mode can't detect mixed inline and regular data extents at all, while lowmem mode reports the problem as hole gap, not to the point.
This patchset will add the ability to detect such problem, with a test image dumped from subpage branch (with the inline extent disable patch reverted).
The patchset is here to detect such problem exposed during subpage development, while also acts as the final safenet to catch such mixed types bug.
Qu Wenruo (4):
btrfs-progs: check/original: add the "0x" prefix for hex error number
btrfs-progs: check/original: detect and report mixed inline and
regular data extents
btrfs-progs: check/lowmem: detect and report mixed inline and regular
extents properly
btrfs-progs: fsck-tests: add test image for mixed inline and regular
data extents
check/main.c | 7 +++- check/mode-lowmem.c | 31 +++++++++++++++--- check/mode-original.h | 2 ++ .../047-mixed-extent-types/default.img.xz | Bin 0 -> 2112 bytes .../fsck-tests/047-mixed-extent-types/test.sh | 19 +++++++++++ 5 files changed, 54 insertions(+), 5 deletions(-) create mode 100644 tests/fsck-tests/047-mixed-extent-types/default.img.xz create mode 100755 tests/fsck-tests/047-mixed-extent-types/test.sh
Signature · 1 line
2.31.1