From: Eric Sandeen <sandeen@sandeen.net>
To: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Cc: Mark Goodwin <markgw@sgi.com>, Timothy Shimmin <tes@sgi.com>,
nscott@aconex.com, Russell Cattelan <cattelan@thebarn.com>,
Barry Naujok <bnaujok@sgi.com>,
"xfs@oss.sgi.com" <xfs@oss.sgi.com>
Subject: Re: [REVIEW] Don't make lazy counters default for mkfs
Date: Sun, 02 Mar 2008 21:56:50 -0600 [thread overview]
Message-ID: <47CB7702.5080905@sandeen.net> (raw)
In-Reply-To: <20080303011559.GB13879@josefsipek.net>
Josef 'Jeff' Sipek wrote:
> On Mon, Mar 03, 2008 at 11:30:14AM +1100, Mark Goodwin wrote:
> ...
>> Maybe I'm missing something, but if we export all the feature bits,
>> both new and old, then (a) an old mkfs will continue to ignore them,
>> and (b) future versions of mkfs will have all the information needed,
>> but will need t be smart about how that information is used.
>
> IMHO:
>
> 1) mkfs should make a filesystem, the defaults should be conservative (say
> using features that have been around >1 year)
I suppose I have to agree, unfortunately that means most competetive
benchmarks will be using sub-optimal mkfs's, but...
> 2) xfs should export supported features to userspace
>
> 3) if you want to make sure that the fs you create will be mountable with
> your current kernel, write a small shell script or something along those
> lines that reads the features from some kernel interface, and based on
> those passes the right options to mkfs
> 4) if you just use mkfs and it creates a fs that's incompatible with your
> current kernel, the mount will fail - as it does today, but perhaps a
> less cryptic error message would be in order
Ya know, good point. We already have "running kernel compatibility
checks" built in; it's called "see what happens when you mount it"
It's not like we're running mkfs.ext3 here... ;) mkfs; mount will tell
you quickly if there's a problem, won't it. Adding complexity to mkfs
might not make a lot of sense.
And I still am not a huge fan of checking the currently-running kernel;
that's just a point in time, and not necessarily what you're gonna mount
it with. (heck maybe you're mkfs'ing a san filesystem?)
it's unix, after all. hand out the hangin' rope... just make the kernel
explain exactly how & why you've just hung yourself at mount time, in
that case....
-Eric
next prev parent reply other threads:[~2008-03-03 3:56 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-28 1:09 [REVIEW] Don't make lazy counters default for mkfs Barry Naujok
2008-02-28 2:35 ` Nathan Scott
2008-02-29 21:21 ` Russell Cattelan
2008-02-29 23:11 ` Eric Sandeen
2008-02-29 23:19 ` Russell Cattelan
2008-02-29 23:47 ` Mark Goodwin
2008-02-29 23:56 ` Eric Sandeen
2008-03-01 0:11 ` Eric Sandeen
2008-03-02 23:59 ` Barry Naujok
2008-03-01 0:02 ` Josef 'Jeff' Sipek
2008-03-02 23:34 ` Nathan Scott
2008-03-03 0:16 ` Timothy Shimmin
2008-03-03 0:30 ` Mark Goodwin
2008-03-03 1:15 ` Josef 'Jeff' Sipek
2008-03-03 3:56 ` Eric Sandeen [this message]
2008-03-03 4:14 ` Josef 'Jeff' Sipek
2008-03-03 4:19 ` Eric Sandeen
2008-03-03 4:47 ` Niv Sardi
2008-03-03 0:18 ` Donald Douwsma
2008-03-03 0:24 ` Nathan Scott
2008-03-02 10:26 ` Andi Kleen
2008-03-02 10:41 ` Josef 'Jeff' Sipek
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=47CB7702.5080905@sandeen.net \
--to=sandeen@sandeen.net \
--cc=bnaujok@sgi.com \
--cc=cattelan@thebarn.com \
--cc=jeffpc@josefsipek.net \
--cc=markgw@sgi.com \
--cc=nscott@aconex.com \
--cc=tes@sgi.com \
--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