Skip to content

btrfs-corrupt-block btree data corruption

Boris Burkov linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2btrfs-progs: corrupt generic item data with btrfs-corrupt-blockbtrfs-corrupt-block.c+68 -32 replies
2/2btrfs-progs: expand corrupt_file_extent in btrfs-corrupt-blockbtrfs-corrupt-block.c+17 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] btrfs-corrupt-block btree data corruption

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.

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(-)
Signature · 1 line
2.24.1