diff options
author | Josef Bacik <josef@toxicpanda.com> | 2023-08-17 16:57:33 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-08-21 14:54:49 +0200 |
commit | 92e1229b204d66525ee95054188938142420324d (patch) | |
tree | d776c977f166f744beb0b7381769f6d2f3026706 /fs/btrfs/delayed-inode.c | |
parent | f345dbdf2c9c4733d52b9389da6c02672f3b8672 (diff) | |
download | lwn-92e1229b204d66525ee95054188938142420324d.tar.gz lwn-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/delayed-inode.c')
0 files changed, 0 insertions, 0 deletions