[Bug 266236] ZFS NFS : .zfs/snapshot : Stale file handle
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 10 Oct 2022 17:13:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266236
--- Comment #28 from Michel Le Cocq <nomad@neuronfarm.net> ---
I made the _exact_ same changes : in :
sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vfsops.c
- if (fidp->fid_len == LONG_FID_LEN && (fid_gen > 1 || setgen != 0)) {
+ if (fidp->fid_len == LONG_FID_LEN && setgen != 0) {
+ ZFS_EXIT(zfsvfs);
On a small test server all seems to work has normal now for me.
- Access to snapshots over NFS succeeds
- zfs doesn't hang
- can destroy entered-via-nfs snapshots
I just did a git pull of src then remove the line and add the two others then
create a new zfs boot env and :
make -j 8 buildkernel
make -j 8 installkernel
root@smallfish:~ # uname -a
FreeBSD smallfish 13.1-RELEASE-p2 FreeBSD 13.1-RELEASE-p2 #0
releng/13.1-752f813d6-dirty: Mon Oct 10 11:46:40 CEST 2022
root@smallfish:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
root@smallfish:~ #
Cool :-)
Now waiting for the implementation in freebsd-update for my production
environnement.
Thanks to all of you.
Do you have an idee of when it be avaible in freebsd-update ?
--
You are receiving this mail because:
You are the assignee for the bug.