[Top] [All Lists]

Re: [REVIEW] Don't make lazy counters default for mkfs

To: Mark Goodwin <markgw@xxxxxxx>
Subject: Re: [REVIEW] Don't make lazy counters default for mkfs
From: "Josef 'Jeff' Sipek" <jeffpc@xxxxxxxxxxxxxx>
Date: Fri, 29 Feb 2008 19:02:11 -0500
Cc: Russell Cattelan <cattelan@xxxxxxxxxxx>, Eric Sandeen <sandeen@xxxxxxxxxxx>, nscott@xxxxxxxxxx, Barry Naujok <bnaujok@xxxxxxx>, "xfs@xxxxxxxxxxx" <xfs@xxxxxxxxxxx>
In-reply-to: <47C8997A.9030804@xxxxxxx>
References: <op.t67mtawg3jf8g2@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <1204166101.13569.102.camel@xxxxxxxxxxxxxxxxx> <47C87775.2010007@xxxxxxxxxxx> <47C89137.3070805@xxxxxxxxxxx> <47C89303.7070902@xxxxxxxxxxx> <47C8997A.9030804@xxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.16 (2007-06-11)
On Sat, Mar 01, 2008 at 10:47:06AM +1100, Mark Goodwin wrote:
> Russell Cattelan wrote:
>> Eric Sandeen wrote:
>>> Russell Cattelan wrote:
>>>>> Hmm, that still seems pretty soon to me.  I'd have thought you'd at
>>>>> least want to wait until most of the distributions (esp. SUSE for you
>>>>> guys) have released versions that have kernels sufficiently recent
>>>>> that the default mkfs will work.  Otherwise this will be a recurring
>>>>> problem.
>>>> I don't suppose there is an easy way to query xfs and find out if it
>>>> can support
>>>> the lazy SB option?
>>> I thought about that; xfs *could* stick someting in /proc/fs/xfs with
>>> supported features or somesuch.
> how about /proc/fs/xfs/features
> .. any format suggestions?

I'd say strings like:


Something that'd match the mkfs option strings closely.

This would make iterating over the features supported easy in a shell

cat /proc/fs/xfs/features | while read feat ; do something $feat ; done

I get the feeling that this might be useful even if mkfs doesn't check it.

>>> But, the kernel you mkfs under isn't necessarily the one you're going to
>>> need to fall back to tomorrow, though...
> nor the one you just installed but haven't rebooted into yet

Right, if you know what you are doing, you can specify whatever options you
want by hand...this is about the default values.

Another issue is with portable media - I use XFS on external disks, and
until recently I couldn't redo them with lazy-count if I wanted to use it on
my laptop.

Josef 'Jeff' Sipek.

A CRAY is the only computer that runs an endless loop in just 4 hours...

<Prev in Thread] Current Thread [Next in Thread>