[Bug 266236] ZFS NFS : .zfs/snapshot : Stale file handle

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 07 Oct 2022 18:59:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266236

--- Comment #24 from Bane Ivosev <bane.ivosev@pmf.uns.ac.rs> ---
I run tests in VMs, 13.1-RELEASE-p2 source, applied patch

-       if (fidp->fid_len == LONG_FID_LEN && (fid_gen > 1 || setgen != 0)) {
+       if (fidp->fid_len == LONG_FID_LEN && setgen != 0) {
+               ZFS_EXIT(zfsvfs);

make kernel, and then nfs mount from 12/13 client and ls .zfs/snapshot/snap1.
Everything is working normal, no more stale file handle and freeze at the
server side.

Thanks Mark!

-- 
You are receiving this mail because:
You are the assignee for the bug.