public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrea Arcangeli <andrea@suse.de>
To: Jeff Garzik <jgarzik@pobox.com>
Cc: Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org
Subject: Re: ramfs lfs limit
Date: Fri, 21 May 2004 10:56:30 +0200	[thread overview]
Message-ID: <20040521085630.GO3044@dualathlon.random> (raw)
In-Reply-To: <20040521074112.GA29558@havoc.gtf.org>

On Fri, May 21, 2004 at 03:41:12AM -0400, Jeff Garzik wrote:
> On Fri, May 21, 2004 at 09:37:02AM +0200, Andrea Arcangeli wrote:
> > Hi Andrew,
> > 
> > this fixes the 2G limit on ramfs
> > 
> > --- sles/fs/ramfs/inode.c.~1~	2003-10-31 05:54:29.000000000 +0100
> > +++ sles/fs/ramfs/inode.c	2004-05-21 07:55:07.394369104 +0200
> > @@ -181,6 +181,7 @@ static int ramfs_fill_super(struct super
> >  	struct inode * inode;
> >  	struct dentry * root;
> >  
> > +	sb->s_maxbytes = MAX_LFS_FILESIZE;
> 
> 
> Why don't we change the default in alloc_super() instead?
> 
> We should not default to "lame" :)

we default to "lame" to protect the lame filesystems from
malfunctioning ;), this was extremely intentional in the early days, now
less but it's still intentional. We may change that someday but
defaulting to safe when there's no downside doesn't sound that urgent to
change.

  reply	other threads:[~2004-05-21  8:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-21  7:37 ramfs lfs limit Andrea Arcangeli
2004-05-21  7:41 ` Jeff Garzik
2004-05-21  8:56   ` Andrea Arcangeli [this message]
2004-05-21  8:11 ` Ingo Molnar

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=20040521085630.GO3044@dualathlon.random \
    --to=andrea@suse.de \
    --cc=akpm@osdl.org \
    --cc=jgarzik@pobox.com \
    --cc=linux-kernel@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