]> git.proxmox.com Git - mirror_zfs.git/commitdiff
ZFS mounted NFSv3 shares fail lock reclaims
authorDon Brady <don.brady@delphix.com>
Fri, 15 Feb 2019 22:40:16 +0000 (15:40 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 15 Feb 2019 22:40:16 +0000 (14:40 -0800)
ZFS NFS shares mounted on a client with NFSv3 and with open
locks will fail to reclaim those locks after a server reboot.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: George Wilson <george.wilson@delphix.com>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Signed-off-by: Don Brady <don.brady@delphix.com>
Closes #8398

etc/systemd/system/zfs-share.service.in

index 312547c262e1e3f19e18452177aa7eae68ee3b69..75ff6e9467679f5f32c4949b22bfd2227b44b3a5 100644 (file)
@@ -3,6 +3,7 @@ Description=ZFS file system shares
 Documentation=man:zfs(8)
 After=nfs-server.service nfs-kernel-server.service
 After=smb.service
+Before=rpc-statd-notify.service
 Wants=zfs-mount.service
 PartOf=nfs-server.service nfs-kernel-server.service
 PartOf=smb.service