Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* [PATCH 0/3] btrfs-progs: csum-change enhancement
@ 2024-06-19  5:33 Qu Wenruo
  2024-06-19  5:33 ` [PATCH 1/3] btrfs-progs: csum-change: add error handling for search old csums Qu Wenruo
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Qu Wenruo @ 2024-06-19  5:33 UTC (permalink / raw)
  To: linux-btrfs

The first two patches are small enhancement and bugfix:

- Fix a missing error handling
- Do multi-transaction csum deletion and rename
  Or we can generate GiB or even TiB level of dirty metadata.

Finally introduce a basic error injection based test case, which will:

- Check if we have error injection first
- Inject error at the end of data csum generation
- Make sure resume from above situation is correct

I'm not adding extra injections because I believe there would definitely
be corner cases that need to be fixed.

Qu Wenruo (3):
  btrfs-progs: csum-change: add error handling for search old csums
  btrfs-progs: csum-change: add leaf based threshold
  btrfs-progs: misc-tests: add a basic resume test using error injection

 .../065-csum-conversion-inject/test.sh        | 48 ++++++++++++
 tune/change-csum.c                            | 75 +++++++++++++++----
 2 files changed, 107 insertions(+), 16 deletions(-)
 create mode 100755 tests/misc-tests/065-csum-conversion-inject/test.sh

--
2.45.2


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

end of thread, other threads:[~2024-06-19  5:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-19  5:33 [PATCH 0/3] btrfs-progs: csum-change enhancement Qu Wenruo
2024-06-19  5:33 ` [PATCH 1/3] btrfs-progs: csum-change: add error handling for search old csums Qu Wenruo
2024-06-19  5:33 ` [PATCH 2/3] btrfs-progs: csum-change: add leaf based threshold Qu Wenruo
2024-06-19  5:33 ` [PATCH 3/3] btrfs-progs: misc-tests: add a basic resume test using error injection Qu Wenruo

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