All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Andrea Arcangeli <andrea@suse.de>
Cc: Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org
Subject: Re: ramfs lfs limit
Date: Fri, 21 May 2004 10:11:28 +0200	[thread overview]
Message-ID: <20040521081128.GA4834@elte.hu> (raw)
In-Reply-To: <20040521073702.GM3044@dualathlon.random>


* Andrea Arcangeli <andrea@suse.de> 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;
>  	sb->s_blocksize = PAGE_CACHE_SIZE;
>  	sb->s_blocksize_bits = PAGE_CACHE_SHIFT;
>  	sb->s_magic = RAMFS_MAGIC;

yep - fixed this for RHEL3 half a year ago but forgot about it. It works
well, people are using multi-GB ramfs instances without problems.

	Ingo

      parent reply	other threads:[~2004-05-21  8:09 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
2004-05-21  8:11 ` Ingo Molnar [this message]

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=20040521081128.GA4834@elte.hu \
    --to=mingo@elte.hu \
    --cc=akpm@osdl.org \
    --cc=andrea@suse.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.