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. v2 Latest2 patches 4 repliesIn review

Patches in v2 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 -52 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchSweet Tea Dorminy
1/2
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 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.

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