Guys, could you test this patch for both your cases?
Regards,
Den
On Tue, 2008-05-27 at 15:03 +0400, Denis V. Lunev wrote:
> On Mon, 2008-05-26 at 18:43 +0200, Yoann Moulin wrote:
> > Jonathan Beckman a écrit :
> > > On Mon, May 26, 2008 at 3:10 PM, Denis V. Lunev <den@openvz.org> wrote:
> > >> could you specify, pls exact kernel version you are using
> > > 2.6.18-fza-028stab053.5-amd64 #1 SMP
> > >
> > > Sorry about forgetting that.
> >
> > I don't if there are a link, but I've an issue with same nfs export in differents VEs.
> >
> > see : http://forum.openvz.org/index.php?t=msg&goto=29539
>
> I have reproduced your bug for debian kernel. The problem is specific to
> it, RHEL5 based kernel is free of this issue. Thank you for the report.
>
> I'll try to produce the fix ASAP.
>
> Regards,
> Den
>
[NFS]: NFS super blocks in different VEs are different
Teach nfs_compare_super to this.
Signed-off-by: Denis V. Lunev <den@openvz.org>
-------
--- ./fs/nfs/super.c.nfs1 2008-05-27 16:33:43.000000000 +0400
+++ ./fs/nfs/super.c 2008-05-27 16:34:50.000000000 +0400
@@ -1020,6 +1020,9 @@ static int nfs_compare_super(struct supe
return 0;
if (old->addr.sin_port != server->addr.sin_port)
return 0;
+ if (!ve_accessible_strict(old->client->cl_xprt->owner_env,
+ get_exec_env()))
+ return 0;
return !nfs_compare_fh(&old->fh, &server->fh);
}