nfsd_rename() multiple export problem
A message that is not in the archive (sent off-list or not yet received): 006c01ca115b$4a5808e0$df081aa0$@com
Quoted 41 lines · Boris Zuckerman
Hi,
This is probably a question for Peter Staubach. However, may be somebody else can help me too…
Once in a while under heavy load nfsd returns a
NFSERR_XDEVfrom rename checking following condition:err = (rqstp->rq_vers == 2) ? nfserr_acces : nfserr_xdev; if (ffhp->fh_export != tfhp->fh_export) goto out;Note that several lines later the similar check looks like this:
host_err = -EXDEV; if (ffhp->fh_export->ex_path.mnt != tfhp->fh_export->ex_path.mnt) goto out_dput_new;As you can see the code is not making any longer assumptions that
fh_exportmust match, but rather is checking ex_path.mnt.We reproduced the problem in-house and got following information: the source and the target directories are the same; Ibrix resolved them to the same dentry.
Quoted 8 lines
However, there are 2 different
fh_exports. I noticed that one of them hasexpiry_time=0x0and another hasexpiry_time=0x4a6aee6dIs it significant? Below is the complete dump of exports and
svc_fhstructurs. Please, let me know if you need more information.I have the crash dump and can dig out anything you need.
What version of the Linux kernel are you using?
Thanx... ps
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html