From: "Lakshmipathi.G" <lakshmipathi.g@giis.co.in>
To: Qu Wenruo <quwenruo@cn.fujitsu.com>
Cc: dsterba <dsterba@suse.cz>, btrfs <linux-btrfs@vger.kernel.org>
Subject: Re: [PATCH v2] btrfs-progs: btrfs-convert: Add larger device support
Date: Mon, 15 May 2017 14:06:54 +0530 [thread overview]
Message-ID: <20170515083653.GA5902@giis.co.in> (raw)
In-Reply-To: <b9f29fde-1e8a-d481-971a-b1951bf9b2a8@cn.fujitsu.com>
On Mon, May 15, 2017 at 09:40:29AM +0800, Qu Wenruo wrote:
> >bug: https://bugzilla.kernel.org/show_bug.cgi?id=194795
>
> Errr, it seems that you forgot to update ext2_open_fs() to update how we get
> cctx->block_counts.
>
> Without that update, we still get wrong total size of original fs, so
> converted image will be corrupted.
>
> In this 22T case, it can't pass convert test since after conversion,
> converted image can't pass e2fsck.
>
> Thanks,
> Qu
>
Thanks for pointing out the issue. So we need to update
common.h/cctx->block_count from u32 to u64?
do we also need to change other fields like inodes_count and
free_inode_count?
Cheers.
Lakshmipathi.G
next prev parent reply other threads:[~2017-05-15 8:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-13 12:56 [PATCH v2] btrfs-progs: btrfs-convert: Add larger device support Lakshmipathi.G
[not found] ` <b9f29fde-1e8a-d481-971a-b1951bf9b2a8@cn.fujitsu.com>
2017-05-15 8:36 ` Lakshmipathi.G [this message]
2017-05-30 17:20 ` David Sterba
2017-06-02 3:16 ` Lakshmipathi.G
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=20170515083653.GA5902@giis.co.in \
--to=lakshmipathi.g@giis.co.in \
--cc=dsterba@suse.cz \
--cc=linux-btrfs@vger.kernel.org \
--cc=quwenruo@cn.fujitsu.com \
/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).