]> www.infradead.org Git - users/dwmw2/linux.git/commit
btrfs: tests: implement case for partial RAID stripe-tree delete
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>
Wed, 23 Oct 2024 13:25:18 +0000 (15:25 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 11 Nov 2024 13:34:19 +0000 (14:34 +0100)
commit6e6ecdec22645db64d14c25915444f238d98da0d
treeb6e169ee4d7564ddf2680194ba79605d340a093b
parent6aea95ee318890d9add03b9275bde31fec682e80
btrfs: tests: implement case for partial RAID stripe-tree delete

Implement self-tests for partial deletion of RAID stripe-tree entries.

These two new tests cover both the deletion of the front of a RAID
stripe-tree stripe extent as well as truncation of an item to make it
smaller.

Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/tests/raid-stripe-tree-tests.c