diff options
| author | 2023-08-17 16:57:33 -0400 | |
|---|---|---|
| committer | 2023-08-21 14:54:49 +0200 | |
| commit | 92e1229b204d66525ee95054188938142420324d (patch) | |
| tree | d776c977f166f744beb0b7381769f6d2f3026706 /fs/btrfs/tree-log.c | |
| parent | btrfs: tests: add a test for btrfs_add_extent_mapping (diff) | |
| download | wireguard-linux-92e1229b204d66525ee95054188938142420324d.tar.xz wireguard-linux-92e1229b204d66525ee95054188938142420324d.zip | |
btrfs: tests: test invalid splitting when skipping pinned drop extent_map
This reproduces the bug fixed by "btrfs: fix incorrect splitting in
btrfs_drop_extent_map_range", we were improperly calculating the range
for the split extent. Add a test that exercises this scenario and
validates that we get the correct resulting extent_maps in our tree.
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/tree-log.c')
0 files changed, 0 insertions, 0 deletions
