HomeFreeBSD

Remove unconditional sharetab update

Description

Remove unconditional sharetab update

Removes the unconditional sharetab update when running any zfs
command. This means the sharetab might become out of date if
users are manually adding/removing shares with exportfs. But
we shouldn't punish all callers to zfs in order to handle that
unlikely case. In the unlikely event we observe issues because
of this it can always be added back to just the share/unshare
call paths where we need an up to date sharetab.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Turbo Fredriksson <turbo@bayour.com>
Signed-off-by: Chris Dunlop <chris@onthe.net.au>
Issue #845

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Jan 7 2014, 5:31 PM
Parents
rGe07306687d08: Enable /etc/mtab cache to improve performance
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG4dad7d91e248: Remove unconditional sharetab update (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Jan 7 2014, 5:48 PM