Skip to content

btrfs: add couple tests to check fiemap correctly reports extent sharedness

[email protected] fstests linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3common/punch: fix flags printing for filter _filter_fiemap_flagscommon/punch+2 -01 reply
2/3btrfs: test that fiemap reports extent as not shared after deleting filetests/btrfs/279 tests/btrfs/279.out+121 -03 replies
3/3btrfs: test fiemap reports extent as not shared after COWing it in snapshottests/btrfs/280 tests/btrfs/280.out+85 -01 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchZorro Lang
1/3R-b
2/3R-b
3/3R-b

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/3] btrfs: add couple tests to check fiemap correctly reports extent sharedness

From: Filipe Manana <[email protected]>

This adds two new btrfs specific tests to verify fiemap correctly reports extent sharedness in a couple of scenarios recently fixed in kernel 6.1-rc2. More details on the test files.

Filipe Manana (3):
common/punch: fix flags printing for filter _filter_fiemap_flags
btrfs: test that fiemap reports extent as not shared after deleting file
btrfs: test fiemap reports extent as not shared after COWing it in snapshot

 common/punch        |  2 ++
 tests/btrfs/279     | 82 +++++++++++++++++++++++++++++++++++++++++++++
 tests/btrfs/279.out | 39 +++++++++++++++++++++
 tests/btrfs/280     | 64 +++++++++++++++++++++++++++++++++++
 tests/btrfs/280.out | 21 ++++++++++++
 5 files changed, 208 insertions(+)
 create mode 100755 tests/btrfs/279
 create mode 100644 tests/btrfs/279.out
 create mode 100755 tests/btrfs/280
 create mode 100644 tests/btrfs/280.out
Signature · 1 line
2.35.1