Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* [PATCH v2 0/2] btrfs-corrupt-block: btree data corruption
@ 2022-07-15 21:22 Boris Burkov
  2022-07-15 21:22 ` [PATCH v2 1/2] btrfs-progs: corrupt generic item data with btrfs-corrupt-block Boris Burkov
  2022-07-15 21:22 ` [PATCH v2 2/2] btrfs-progs: expand corrupt_file_extent in btrfs-corrupt-block Boris Burkov
  0 siblings, 2 replies; 7+ messages in thread
From: Boris Burkov @ 2022-07-15 21:22 UTC (permalink / raw)
  To: linux-btrfs, kernel-team

Add some more generic corruption to btrfs-corrupt-block which allows
corrupting the data in metadata items.

Motivated by testing fsverity which requires rather specific corruption
of the metadata.

The first patch adds corrupting arbitrary regions of item data with -I.
The second patch adds corrupting holes and prealloc in extent data.

--
v2: minor cleanups from rebasing after a year

Boris Burkov (2):
  btrfs-progs: corrupt generic item data with btrfs-corrupt-block
  btrfs-progs: expand corrupt_file_extent in btrfs-corrupt-block

 btrfs-corrupt-block.c | 93 +++++++++++++++++++++++++++++++++++++++----
 1 file changed, 85 insertions(+), 8 deletions(-)

-- 
2.37.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-07-22 10:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-15 21:22 [PATCH v2 0/2] btrfs-corrupt-block: btree data corruption Boris Burkov
2022-07-15 21:22 ` [PATCH v2 1/2] btrfs-progs: corrupt generic item data with btrfs-corrupt-block Boris Burkov
2022-07-18 20:18   ` Sweet Tea Dorminy
2022-07-22 10:08   ` Nikolay Borisov
2022-07-15 21:22 ` [PATCH v2 2/2] btrfs-progs: expand corrupt_file_extent in btrfs-corrupt-block Boris Burkov
2022-07-18 16:31   ` Sweet Tea Dorminy
2022-07-22 10:14   ` Nikolay Borisov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox