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

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 30 Sep 2022 11:52:50 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266236

florian.millet@laposte.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |florian.millet@laposte.net

--- Comment #8 from florian.millet@laposte.net ---
We are hit by this problem as well.

I would add that the version of NFS used by the client has no impact, NFSv3 or
NFSv4 has the problem.

When FreeBSD changed from ZoF to OpenZFS 2.x in 13, there does seem to be a
change in the unmounting of the .zfs directory (see
https://cgit.freebsd.org/src/tree/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_ctldir.c?h=releng/13.1
vs
https://cgit.freebsd.org/src/tree/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ctldir.c?h=releng/12.3)

a new function zfsctl_snapshot_unmount has been added in OpenZFS 2.x, and if
you compare it to the old zfsctl_umount_snapshot, the logic is quite different.
Perhaps we have a regression here ?

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