public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Niv Sardi <xaiki@cxhome.ath.cx>
To: markgw@sgi.com
Cc: Timothy Shimmin <tes@sgi.com>,
	nscott@aconex.com, Russell Cattelan <cattelan@thebarn.com>,
	Eric Sandeen <sandeen@sandeen.net>,
	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: Mon, 03 Mar 2008 15:47:39 +1100	[thread overview]
Message-ID: <ncclk50ifbo.fsf@sgi.com> (raw)
In-Reply-To: <47CB4696.1030304@sgi.com> (Mark Goodwin's message of "Mon, 03 Mar 2008 11:30:14 +1100")

Mark Goodwin <markgw@sgi.com> writes:

> Timothy Shimmin wrote:
>> Nathan Scott wrote:
>>> On Fri, 2008-02-29 at 17:19 -0600, Russell Cattelan wrote:
>>>>> I thought about that; xfs *could* stick someting in /proc/fs/xfs
>>>> with
>>>>> supported features or somesuch.
>>>>>
>>>>> But, the kernel you mkfs under isn't necessarily the one you're
>>>> going to
>>>>> need to fall back to tomorrow, though...
>>>>>
>>>>>   
>>>> True but at least it could make a bit of a intelligent decision.
>>>> and maybe a warning for a while about potentially incompatible
>>>> flags. 
>>>
>>> Might also be a good idea to require -f to force a mkfs of a filesystem
>>> which the kernel doesn't support.
>>>
>>      974981: mkfs.xfs should warn if it is about to create a fs that
>> cannot be mounted
>>
>> Ivan was wanting this in December last year. Remember, Mark?
>> He wanted to know what XFS features the running kernel supported?
>
> It was worse than that - IIRC, he wanted to know what features are
> supported by the XFS kernel module he just installed (this was part
> of an Appman upgrade scenario). I thought we rejected that bug ?
>
>>
>> I don't think Dave (dgc) and others were not so keen on it IIRC.
>
> anyone recall the reasons?

Yes, we got to the consensus that having mkfs check for kernel stuff is
plain wrong, and there are a load of reasons to that, the most
convincing is that you can have no XFS support in the kernel at mkfs
time (i.e. module, that'll be loaded only on mount). Others reasons go
along the line of:
* You could be mkfsing for another box/kernel.
* We want people to run latest kernels if they run latest xfsprogs =)

Cheers,
-- 
Niv Sardi

  parent reply	other threads:[~2008-03-03  4:48 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
2008-03-03  4:14                   ` Josef 'Jeff' Sipek
2008-03-03  4:19                     ` Eric Sandeen
2008-03-03  4:47               ` Niv Sardi [this message]
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=ncclk50ifbo.fsf@sgi.com \
    --to=xaiki@cxhome.ath.cx \
    --cc=bnaujok@sgi.com \
    --cc=cattelan@thebarn.com \
    --cc=markgw@sgi.com \
    --cc=nscott@aconex.com \
    --cc=sandeen@sandeen.net \
    --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