From: Bill Kendall <wkendall@sgi.com>
To: Christoph Hellwig <hch@infradead.org>
Cc: xfs@oss.sgi.com
Subject: Re: [PATCH] xfsdump: use the full 32-bit generation number
Date: Mon, 06 Feb 2012 11:40:09 -0600 [thread overview]
Message-ID: <4F301079.9010505@sgi.com> (raw)
In-Reply-To: <20120205133648.GA27225@infradead.org>
Christoph Hellwig wrote:
> On Fri, Jan 06, 2012 at 02:09:25PM -0600, Bill Kendall wrote:
>> dump format version has been bumped to 3. xfsdump also required changes to
>> its inode-to-generation cache. This map is not persistent though, so no
>> compatibility or version changes were required there.
>
> Shouldn't the be an option to still generate the old format for
> compatibility reasons?
The new format contains more information than the old. The new
xfsrestore can drop back to using 12-bit generation numbers even
if the dump used 32 bits. It will do this automatically when
applying a series of restores if the oldest dump used only 12 bits.
It's possible that a site would revert to an old xfsdump in the
middle of a series of incremental backups, allowing for the oldest
backup to use 32-bit generation numbers and a newer backup to use
only 12 bits. xfsrestore won't get this right, so a case could be
made for having a "force 12-bit generation numbers" option on
xfsrestore.
You were referring to an xfsdump option. What use case did you
have in mind? Compatibility with an old restore?
Thanks,
Bill
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2012-02-06 17:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-06 20:09 [PATCH] xfsdump: use the full 32-bit generation number Bill Kendall
2012-01-08 0:58 ` David Brown
2012-01-09 14:01 ` Bill Kendall
2012-02-05 13:36 ` Christoph Hellwig
2012-02-06 17:40 ` Bill Kendall [this message]
2012-02-06 17:41 ` Christoph Hellwig
2012-02-07 20:52 ` Bill Kendall
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=4F301079.9010505@sgi.com \
--to=wkendall@sgi.com \
--cc=hch@infradead.org \
--cc=xfs@oss.sgi.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