All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] btrfs-progs: check: add the ability to detect and report mixed inline and regular data extents
@ 2021-05-04  6:25 Qu Wenruo
  2021-05-04  6:25 ` [PATCH 1/4] btrfs-progs: check/original: add the "0x" prefix for hex error number Qu Wenruo
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Qu Wenruo @ 2021-05-04  6:25 UTC (permalink / raw)
  To: linux-btrfs

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

-- 
2.31.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-05-06 13:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-04  6:25 [PATCH 0/4] btrfs-progs: check: add the ability to detect and report mixed inline and regular data extents Qu Wenruo
2021-05-04  6:25 ` [PATCH 1/4] btrfs-progs: check/original: add the "0x" prefix for hex error number Qu Wenruo
2021-05-04  6:25 ` [PATCH 2/4] btrfs-progs: check/original: detect and report mixed inline and regular data extents Qu Wenruo
2021-05-04  6:25 ` [PATCH 3/4] btrfs-progs: check/lowmem: detect and report mixed inline and regular extents properly Qu Wenruo
2021-05-04  6:25 ` [PATCH 4/4] btrfs-progs: fsck-tests: add test image for mixed inline and regular data extents Qu Wenruo
2021-05-04 13:30 ` [PATCH 0/4] btrfs-progs: check: add the ability to detect and report " Su Yue
2021-05-06 13:02 ` Qu Wenruo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.