lkml.org 
[lkml]   [2002]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Fix page cache limit wrapping in filesystems


On Thu, 7 Feb 2002, Andi Kleen wrote:

>
> Several file systems in tree that nominally support files >2GB set their
> s_maxbytes value to ~0ULL. This has the nasty side effect on 32bit machines
> that when a file write reaches the page cache limit (e.g. 2^43) it'll silently
> wrap and destroy data at the beginning of the file.
>
> This patch changes the file systems in question to fill in a proper limit.
>
> I also have an alternate patch that adds a check for this generically
> in super.c, but preliminary comments from Al suggested that he prefered
> to do it in the file systems, so it is done this way way.
>
> Patch for 2.5.4pre1. Please consider applying.

Looks OK.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:18    [W:0.041 / U:0.692 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site