]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r329663: MFV r316876: 7542 zfs_unmount failed with EZFS_UNSHARENFSFAILED
authormav <mav@FreeBSD.org>
Thu, 22 Mar 2018 23:49:54 +0000 (23:49 +0000)
committermav <mav@FreeBSD.org>
Thu, 22 Mar 2018 23:49:54 +0000 (23:49 +0000)
commit706370843de0ff218830112ce27c51834ed8f51e
tree228359c4ff61d804b2146bb23f5a57ff7c277c42
parent0f1e27eb643f008dba31363a61b02ebd314ba694
MFC r329663: MFV r316876: 7542 zfs_unmount failed with EZFS_UNSHARENFSFAILED

illumos/illumos-gate@09c9e6dc9b69d10b771bb87e01040ec320a0bfd3
https://github.com/illumos/illumos-gate/commit/09c9e6dc9b69d10b771bb87e01040ec320a0bfd3

https://www.illumos.org/issues/7542
  libshare keeps a cached copy of the sharetab listing in memory, which can
  become out of date if shares are destroyed or created while leaving a libzfs
  handle open. This results in a spurious unmounting failure when an NFS share
  exists but isn't in the stale libshare cache.

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Dan Kimmel <dan.kimmel@delphix.com>
Reviewed by: Matt Amdur <matt.amdur@delphix.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Author: Chris Williamson <chris.williamson@delphix.com>
cddl/contrib/opensolaris/lib/libzfs/common/libzfs_impl.h
cddl/contrib/opensolaris/lib/libzfs/common/libzfs_mount.c