From: jeffm@suse.com
To: linux-btrfs@vger.kernel.org
Cc: Jeff Mahoney <jeffm@suse.com>
Subject: [PATCH 0/5 v2] btrfs-progs: convert fixes + reiserfs support
Date: Thu, 27 Jul 2017 11:47:18 -0400 [thread overview]
Message-ID: <20170727154723.2208-1-jeffm@suse.com> (raw)
From: Jeff Mahoney <jeffm@suse.com>
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
--
2.11.0
next reply other threads:[~2017-07-27 15:46 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-27 15:47 jeffm [this message]
2017-07-27 15:47 ` [PATCH 1/5] btrfs-progs: convert: properly handle reserved ranges while iterating files jeffm
2017-07-28 1:12 ` Qu Wenruo
2017-07-27 15:47 ` [PATCH 2/5] btrfs-progs: convert: add missing newlines for printfs jeffm
2017-07-28 1:24 ` Qu Wenruo
2017-07-27 15:47 ` [PATCH 3/5] btrfs-progs: convert: use search_cache_extent in migrate_one_reserved_range jeffm
2017-07-28 1:20 ` Qu Wenruo
2017-07-27 15:47 ` [PATCH 4/5] btrfs-progs: tests: fix typo in convert-tests/008-readonly-image jeffm
2017-07-28 1:27 ` Qu Wenruo
2017-07-31 17:01 ` Jeff Mahoney
2017-07-31 7:35 ` Lakshmipathi.G
2017-07-27 15:47 ` [PATCH 5/5] btrfs-progs: convert: add support for converting reiserfs jeffm
2017-08-22 18:14 ` [PATCH 0/5 v2] btrfs-progs: convert fixes + reiserfs support David Sterba
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170727154723.2208-1-jeffm@suse.com \
--to=jeffm@suse.com \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).