zfs/cmd
LOLi 2f71caf2d9 Allow zfs unshare <protocol> -a
Allow `zfs unshare <protocol> -a` command to share or unshare all datasets
of a given protocol, nfs or smb.

Additionally, enable most of ZFS Test Suite zfs_share/zfs_unshare test cases.
To work around some Illumos-specific functionalities ($SHARE/$UNSHARE) some
function wrappers were added around them.

Finally, fix and issue in smb_is_share_active() that would leave SMB shares
exported when invoking 'zfs unshare -a'

Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Turbo Fredriksson <turbo@bayour.com>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes #3238 
Closes #5367
2016-11-29 12:22:38 -07:00
..
arc_summary Correct style in arcstat and arc_summary 2016-10-06 10:04:54 -07:00
arcstat Correct exit code for dbufstat -v and arcstat -v 2016-10-06 10:52:21 -07:00
dbufstat Correct exit code for dbufstat -v and arcstat -v 2016-10-06 10:52:21 -07:00
fsck_zfs Add /sbin/fsck.zfs helper 2013-01-09 16:54:58 -08:00
mount_zfs Change /etc/mtab to /proc/self/mounts 2016-09-20 10:07:58 -07:00
raidz_test Add parity generation/rebuild using AVX-512 for x86-64 2016-11-02 12:40:23 -07:00
vdev_id Add extra keyword 'slot' to vdev_id.conf 2015-08-30 10:03:56 -07:00
zdb Fix coverity defects: CID 147511, 147513 2016-10-24 13:37:38 -07:00
zed Add a statechange notify zedlet 2016-11-10 13:52:59 -08:00
zfs Allow zfs unshare <protocol> -a 2016-11-29 12:22:38 -07:00
zhack Fix zhack argument processing 2016-08-31 14:32:46 -07:00
zinject Fix coverity defects: CID 147443, 147656, 147655, 147441, 147653 2016-09-29 13:33:09 -07:00
zpios Fix coverity defects: CID 147643, 152204, 49339 2016-10-18 10:43:22 -07:00
zpool Allow for '-o feature@<feature>=disabled' on the command line 2016-10-25 16:17:47 -07:00
zstreamdump DLPX-40252 integrate EP-476 compressed zfs send/receive 2016-09-13 09:58:58 -07:00
ztest Fix coverity defects: CID 147606, 147609 2016-10-12 11:16:47 -07:00
zvol_id OpenZFS 6314 - buffer overflow in dsl_dataset_name 2016-06-28 13:47:03 -07:00
Makefile.am SIMD implementation of vdev_raidz generate and reconstruct routines 2016-06-21 09:27:26 -07:00