[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <45A6CDE3.90001@yahoo.com.au>
Date: Fri, 12 Jan 2007 10:53:07 +1100
From: Nick Piggin <nickpiggin@...oo.com.au>
To: "Vladimir V. Saveliev" <vs@...esys.com>
CC: reiserfs-dev@...esys.com,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists