From: Filipe Manana <fdmanana@xxxxxxxx> This adds a test case specific for send v2 with some preparatory work in order to allow for that. Support for v2 send streams was added in btrfs-progs v5.19 and the kernel support introduced with kernel 6.0. More send v2 specific tests will be added later. Filipe Manana (4): btrfs: add a _require_btrfs_send_v2 helper common: make _filter_fiemap_flags optionally print the encoded flag btrfs/280: also verify that fiemap reports extents as encoded btrfs: test a case with compressed send stream and a shared extent common/btrfs | 14 +++++++ common/punch | 40 ++++++++++++++++++-- tests/btrfs/280 | 4 +- tests/btrfs/280.out | 12 +++--- tests/btrfs/281 | 89 +++++++++++++++++++++++++++++++++++++++++++++ tests/btrfs/281.out | 17 +++++++++ 6 files changed, 164 insertions(+), 12 deletions(-) create mode 100755 tests/btrfs/281 create mode 100644 tests/btrfs/281.out -- 2.35.1