xfs
[Top] [All Lists]

Re: TAKE - Clean up large file handling.

To: Wessel Dankers <wsl@xxxxxxxxxxxx>
Subject: Re: TAKE - Clean up large file handling.
From: Eric Sandeen <sandeen@xxxxxxx>
Date: 22 Jan 2002 14:45:33 -0600
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <20020122210601.O25522@fruit.eu.org>
References: <200201221909.g0MJ9Ux19774@stout.americas.sgi.com> <20020122204443.A12581@s2y4n2c.de> <20020122210601.O25522@fruit.eu.org>
Sender: owner-linux-xfs@xxxxxxxxxxx
On Tue, 2002-01-22 at 14:06, Wessel Dankers wrote:
> On 2002-01-22 20:44:43+0100, utz lehmann wrote:
> > Hi Eric
> > 
> > Will this fix the fs corruption with 8exabyte sized files?

Yes, because you can no longer make 8exabyte sized files.  :)

[root@lite sda2]# seq 1 100 | dd of=BIG1 bs=1024 seek=9007199254740991
dd: advancing past 9223372036854774784 bytes in output file `BIG1': File too 
large

However, "seq 1 100 | dd of=BIG1 bs=1024 seek=17179869185" will bump you
right up against the max file size limit; my filesystem is perfectly
happy after this.

> That problem was caused by two problems in tandem, both of which are fixed
> in CVS, AFAICT.

That's also correct; XFS was allowing too-large file sizes.  This was
causing errors and a filesystem shutdown, shutdown was causing
corruption.  (aiee!)

Shutdown no longer causes corruption*, and XFS won't allow too-large
files anymore.

-Eric

*It seems that some recent change exposed this bug, if forced_shutdown
had been corrupting filesystems all along, we would probably have known
about it a lot sooner...

-- 
Eric Sandeen      XFS for Linux     http://oss.sgi.com/projects/xfs
sandeen@xxxxxxx   SGI, Inc.


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