lkml.org 
[lkml]   [2007]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.20-rc4: known unfixed regressions (v2)
Vladimir V. Saveliev wrote:
> Hello
>
> On Thursday 11 January 2007 04:00, Nick Piggin wrote:

>>That's racy, unfortunately :P
>>
>
>
> Sorry, please, explain what is racy.
> reiserfs_truncate and reiserfs_release call that function after they have inode's mutex locked.

Calling truncate inside i_size (ie. vmtruncate_range is also racy), because
of the way that the pagefault side of the equation works (eg. truncate_count).

But if you're only calling truncate on files that are never mmapped, then I
think that race should disappear.

--
SUSE Labs, Novell Inc.
Send instant messages to your online friends http://au.messenger.yahoo.com

-
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: 2007-01-12 01:51    [W:0.272 / U:0.572 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site