btrfs-progs: convert fixes + reiserfs support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 7 repliesIn review
- v13 patches 6 repliesSuperseded
Changes in v2 from the cover letter
- reiserfs conversion:
- use bool instead of int
- catch 'impossible' condition of multiple discontiguous tails
- properly handle hole followed by tail
- add testing for combinations of real blocks, tails, and holes
- print error indicating filename (and key) that caused a failure
- constify buffer arg to btrfs_insert_inline_extent
- add tails=on to reiserfs mount options
- fixed absence of libreiserfscore to be non-fatal unless specificially enabled
- btrfs-progs: convert: use search_cache_extent in migrate_one_reserved_range
- In testing, we would not be able to roll back to part of the 0-1MB range not being migrated.
- btrfs-progs: tests: fix typo in convert-tests/008-readonly-image
- The test used ext2_save instead of ext2_saved as the filename
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | btrfs-progs: convert: properly handle reserved ranges while iterating filesconvert/ | +11 | 1 reply | |
| 2/5 | btrfs-progs: convert: add missing newlines for printfsconvert/ | +2 | 1 reply | |
| 3/5 | btrfs-progs: convert: use search_cache_extent in migrate_one_reserved_rangeconvert/ | +3 | 1 reply | |
| 4/5 | btrfs-progs: tests: fix typo in convert-tests/008-readonly-imagetests/ | +3 | 3 replies | |
| 5/5 | btrfs-progs: convert: add support for converting reiserfsMakefile Makefile.inc.in configure.ac +11 more | +1375 | 0 replies |
Reviews trailers per patch
3 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Qu Wenruo |
|---|---|
| 1/5 | R-b |
| 2/5 | R-b |
| 3/5 | R-b |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5 v2] btrfs-progs: convert fixes + reiserfs support
From: Jeff Mahoney <[email protected]>
Changes since v1:
- reiserfs conversion:
- use bool instead of int
- catch 'impossible' condition of multiple discontiguous tails
- properly handle hole followed by tail
- add testing for combinations of real blocks, tails, and holes
- print error indicating filename (and key) that caused a failure
- constify buffer arg to btrfs_insert_inline_extent
- add tails=on to reiserfs mount options
- fixed absence of libreiserfscore to be non-fatal unless specificially enabled
- btrfs-progs: convert: use search_cache_extent in migrate_one_reserved_range
- In testing, we would not be able to roll back to part of the 0-1MB range not being migrated.
- btrfs-progs: tests: fix typo in convert-tests/008-readonly-image
- The test used ext2_save instead of ext2_saved as the filename
---
Jeff Mahoney (5):
btrfs-progs: convert: properly handle reserved ranges while iterating
files
btrfs-progs: convert: add missing newlines for printfs
btrfs-progs: convert: use search_cache_extent in
migrate_one_reserved_range
btrfs-progs: tests: fix typo in convert-tests/008-readonly-image
btrfs-progs: convert: add support for converting reiserfs
Makefile | 3 +- Makefile.inc.in | 3 +- configure.ac | 15 +- convert/main.c | 21 +- convert/source-fs.c | 25 +- convert/source-reiserfs.c | 1015 ++++++++++++++++++++ convert/source-reiserfs.h | 105 ++ ctree.h | 2 +- file-item.c | 2 +- tests/common.convert | 14 +- tests/convert-tests/008-readonly-image/test.sh | 4 +- tests/convert-tests/010-reiserfs-basic/test.sh | 16 + .../011-reiserfs-delete-all-rollback/test.sh | 67 ++ .../012-reiserfs-large-hole-extent/test.sh | 23 + .../013-reiserfs-common-inode-flags/test.sh | 35 + .../convert-tests/014-reiserfs-tail-handling/input | 1 + .../014-reiserfs-tail-handling/input2 | 1 + .../014-reiserfs-tail-handling/test.sh | 69 ++ 18 files changed, 1391 insertions(+), 30 deletions(-) create mode 100644 convert/source-reiserfs.c create mode 100644 convert/source-reiserfs.h create mode 100755 tests/convert-tests/010-reiserfs-basic/test.sh create mode 100755 tests/convert-tests/011-reiserfs-delete-all-rollback/test.sh create mode 100755 tests/convert-tests/012-reiserfs-large-hole-extent/test.sh create mode 100755 tests/convert-tests/013-reiserfs-common-inode-flags/test.sh create mode 100644 tests/convert-tests/014-reiserfs-tail-handling/input create mode 100644 tests/convert-tests/014-reiserfs-tail-handling/input2 create mode 100755 tests/convert-tests/014-reiserfs-tail-handling/test.sh
Signature · 1 line
2.11.0