From: Qu Wenruo <quwenruo@cn.fujitsu.com>
To: <linux-btrfs@vger.kernel.org>
Subject: [PATCH 0/4] Fix for btrfs-convert chunk type and fsck support
Date: Wed, 9 Sep 2015 16:49:19 +0800 [thread overview]
Message-ID: <1441788564-27382-1-git-send-email-quwenruo@cn.fujitsu.com> (raw)
Again the buggy btrfs-convert, even David tried to ban mixed-bg features
for btrfs-convert, it will still put data and metadata extents into the
same chunk, without marking the chunk mixed.
So in the patchset, first add fsck support for such problem, and then
force btrfs-convert to use mixed block group.
Lastly change the test case as they won't convert with non pagesize
nodesize.
Qu Wenruo (5):
btrfs-progs: fsck: Add check for extent and parent chunk type
btrfs: utils: Check nodesize against features
btrfs: convert: force convert to used mixed block group
btrfs: util: add parameter for btrfs_list_all_fs_features
btrfs-progs: convert-test: Disable different nodesize test
btrfs-convert.c | 59 ++++++++++++++++++++++++++-----------------
cmds-check.c | 68 +++++++++++++++++++++++++++++++++++++++++++++++++-
ctree.h | 2 +-
extent-tree.c | 15 ++++++++++-
mkfs.c | 19 ++++++--------
tests/convert-tests.sh | 36 +++++++++++++++-----------
utils.c | 12 ++++++---
utils.h | 20 ++++++++++++---
8 files changed, 171 insertions(+), 60 deletions(-)
--
2.5.1
next reply other threads:[~2015-09-09 8:49 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-09 8:49 Qu Wenruo [this message]
2015-09-09 8:49 ` [PATCH 1/5] btrfs-progs: fsck: Add check for extent and parent chunk type Qu Wenruo
2015-09-09 8:49 ` [PATCH 2/5] btrfs: utils: Check nodesize against features Qu Wenruo
2015-09-09 8:49 ` [PATCH 3/5] btrfs: convert: force convert to used mixed block group Qu Wenruo
2015-09-09 8:49 ` [PATCH 4/5] btrfs: util: add parameter for btrfs_list_all_fs_features Qu Wenruo
-- strict thread matches above, loose matches on Subject: below --
2015-09-10 2:34 [PATCH 0/4] Fix for btrfs-convert chunk type and fsck support Qu Wenruo
2015-09-11 14:56 ` David Sterba
2015-09-11 15:23 ` Qu Wenruo
2015-09-24 1:18 ` Qu Wenruo
2015-09-25 15:19 ` David Sterba
2015-09-26 7:56 ` Qu Wenruo
2015-09-29 9:31 ` David Sterba
2015-09-25 15:49 ` 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=1441788564-27382-1-git-send-email-quwenruo@cn.fujitsu.com \
--to=quwenruo@cn.fujitsu.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).