btrfs-progs: fix csum metadata reservation and add a basic test case for itb
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | btrfs-progs: change-csum: fix the wrong metadata space reservationtune/ | +15 | 0 replies | |
| 2/2 | btrfs-progs: misc-tests: add a test case for basic csum conversiontests/ | +32 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] btrfs-progs: fix csum metadata reservation and add a basic test case for itb
The current csum conversion is using an incorrect parameter for btrfs_start_transaction(), which is 16K times larger than the expected metadata space, thus it always fail with -ENOSPC.
Fix that first, then add a basic test case using the same populate_fs() from convert test cases, and iterate through all the support csum algorithms.
Qu Wenruo (2):
btrfs-progs: change-csum: fix the wrong metadata space reservation
btrfs-progs: misc-tests: add a test case for basic csum conversion
.../064-csum-conversion-basic/test.sh | 32 +++++++++++++++++++ tune/change-csum.c | 22 +++++++++---- 2 files changed, 47 insertions(+), 7 deletions(-) create mode 100755 tests/misc-tests/064-csum-conversion-basic/test.sh
--
2.45.2