From: Duncan <1i5t5.duncan@cox.net>
To: linux-btrfs@vger.kernel.org
Subject: Re: Ideas for btrfs-convert fix(or rework)
Date: Tue, 10 Nov 2015 10:31:16 +0000 (UTC) [thread overview]
Message-ID: <pan$edd20$481e3529$4248bf13$5caaf119@cox.net> (raw)
In-Reply-To: 5641B64A.9020606@gmx.com
Qu Wenruo posted on Tue, 10 Nov 2015 17:18:02 +0800 as excerpted:
> Yes, some problem can be fixed by such balance, as after balance, data
> and metadata will be relocated to correct new chunks.
>
> But there may be a lot of hidden bugs here.
> And we can't ignore such malfunction just because it's OK under some
> cases, or btrfs won't really become a production ready filesystem.
Very good point in general, but remember the context we're talking about
here, btrfs-convert.
Convert is used once, if then, and a lot of generally considered stable
filesystems get along perfectly fine without direct convert-from-ext*
tools at all, telling people to either use their ext* as backups and
restore/copy to their newly created filesystems of whatever new type, or
backup the data they want to save from the old filesystem, then mkfs them
directly to the new filesystem type, again, restoring/copying the backed
up data back from the backups.
And after all, people using anything /other/ than ext* are going to have
to do that anyway, unless even /more/ work is invested to deal with all
the /other/ filesystems... all for something that's optionally used once
and must work well if used, then forgotten about.
So an ext* specific convert tool, while definitely nice to have, remains
entirely optional, and as such, unlike more critical actual filesystem
features that will continue to be used as long as the filesystem exists,
isn't really critical to btrfs becoming a production ready filesystem at
all, because at some point, if it's still buggy it can simply be thrown
away.
So a buggy convert tool, being optional, doesn't really affect the
production readiness of the filesystem as a whole, at all.
Meanwhile, people really considering production readiness, at least in
the enterprise setting, tend to be a pretty conservative bunch, and I'd
argue that conservative admins will be unlikely to really trust such a
conversion tool in any case, preferring to restore from existing
backups. I certainly know that /I'd/ have my doubts about trusting my
data to a convert tool, and would /much/ rather do the copy over to the
new filesystems thing, since at least that way, if anything goes wrong I
know I still have the unchanged old copy that was perfectly fine to use
the day/hour before still there and just as perfectly fine to use again.
That's not something I'd be confident saying about the if-anything-goes-
wrong behavior of a convert-in-place tool!
So again, yes, convert is nice to have even if I'd never fully trust them
myself, but it really doesn't affect the production readiness of the
filesystem itself.
--
Duncan - List replies preferred. No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master." Richard Stallman
next prev parent reply other threads:[~2015-11-10 10:31 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-10 6:27 Ideas for btrfs-convert fix(or rework) Qu Wenruo
2015-11-10 7:55 ` Roman Mamedov
2015-11-10 8:16 ` Qu Wenruo
2015-11-10 9:08 ` Roman Mamedov
2015-11-10 9:18 ` Qu Wenruo
2015-11-10 10:31 ` Duncan [this message]
2015-11-12 10:23 ` Vytautas D
2015-11-12 13:27 ` Austin S Hemmelgarn
2015-11-12 14:09 ` Roman Mamedov
2015-11-12 14:38 ` Austin S Hemmelgarn
2015-11-13 6:41 ` Duncan
2015-11-16 17:46 ` David Sterba
2015-11-17 0:42 ` Qu Wenruo
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='pan$edd20$481e3529$4248bf13$5caaf119@cox.net' \
--to=1i5t5.duncan@cox.net \
--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