[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080429222141.GD14976@parisc-linux.org>
Date: Tue, 29 Apr 2008 16:21:42 -0600
From: Matthew Wilcox <matthew@....cx>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Bryan Wu <cooloney@...nel.org>, linux-kernel@...r.kernel.org,
torvalds@...ux-foundation.org, willy@...ian.org,
viro@...iv.linux.org.uk, uclinux-dist-devel@...ckfin.uclinux.org,
"J. Bruce Fields" <bfields@...ldses.org>
Subject: Re: [LTP/VFS] fcntl SETLEASE fails on ramfs/tmpfs
On Tue, Apr 29, 2008 at 01:54:54PM -0700, Andrew Morton wrote:
> I guess we should make the generic_setlease() heuristic smarter.
>
> Of course the _reason_ for that heuristic is uncommented and lost in time.
> And one wonders what locking prevents it from being totally racy, and if
> "none", what happens when the race hits. Sigh.
It's hardly "lost in time" when you can ask the original author.
If there are multiple processes with this file open, you can't place a
lease on it.
--
Intel are signing my paycheques ... these opinions are still mine
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours. We can't possibly take such
a retrograde step."
--
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