[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080828205727.GA21880@tsunami.ccur.com>
Date: Thu, 28 Aug 2008 16:57:27 -0400
From: Joe Korty <joe.korty@...r.com>
To: "Myklebust, Trond" <Trond.Myklebust@...app.com>
Cc: Linux Kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] NFSv3: cached permissions subset enhancement, v2
On Thu, Aug 28, 2008 at 02:28:48PM -0400, Joe Korty wrote:
> On Thu, Aug 28, 2008 at 12:03:47PM -0400, Myklebust, Trond wrote:
>> This isn't a good solution. The correct thing to do here is to resend
>> the request for just those permissions that the VFS requested.
>
> Is there any chance that the cached permissions are shared amoung
> multiple open(2)'s of the same file? If sharing happens then we
> really need to cache all of MAY_EXEC | MAY_WRITE | MAY_READ, rather
> than just that subset asked for by the open(2) that happens to
> be the one filling in the cache.
>
> In any case, I've rewritten the patch per the above suggestion, and
Hi Trond,
I've tested the new patch with the test sequence mentioned in the
original customer bug report, and it seems to work.
Joe
--
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