]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit - contrib/unbound/libunbound/python/libunbound.i
MFV r316876: 7542 zfs_unmount failed with EZFS_UNSHARENFSFAILED
authorAlexander Motin <mav@FreeBSD.org>
Tue, 20 Feb 2018 20:30:40 +0000 (20:30 +0000)
committerAlexander Motin <mav@FreeBSD.org>
Tue, 20 Feb 2018 20:30:40 +0000 (20:30 +0000)
commit806141acfccddba37d587867ade97f0993d215fd
tree0a3351e0761dc126e874ce76a532fef1ffbc688e
parent62daefa5480d59162db358b1781f81d1c2d86d7f
parent910a9fff3b49c7bcc26380388f86f03aabf16b56
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