]> granicus.if.org Git - zfs/commit
OpenZFS 8115 - parallel zfs mount
authorSebastien Roy <seb@delphix.com>
Mon, 5 Nov 2018 15:40:05 +0000 (08:40 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 15 Nov 2018 19:33:58 +0000 (11:33 -0800)
commita10d50f999511d304f910852c7825c70c9c9e303
tree636446232088444d7dfab1b7a2dc7ca541ee1f9e
parentaf2e8411dacbc694b1aaf9074e68a9d12270e74c
OpenZFS 8115 - parallel zfs mount

Porting Notes:
* Use thread pools (tpool) API instead of introducing taskq interfaces
  to libzfs.
* Use pthread_mutext for locks as mutex_t isn't available.
* Ignore alternative libshare initialization since OpenZFS-7955 is
  not present on zfsonlinux.

Authored by: Sebastien Roy <seb@delphix.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Pavel Zakharov <pavel.zakharov@delphix.com>
Reviewed by: Brad Lewis <brad.lewis@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Paul Dagnelie <pcd@delphix.com>
Reviewed by: Prashanth Sreenivasa <pks@delphix.com>
Authored by: Brian Behlendorf <behlendorf1@llnl.gov>
Approved by: Matt Ahrens <mahrens@delphix.com>
Ported-by: Don Brady <don.brady@delphix.com>
OpenZFS-issue: https://www.illumos.org/issues/8115
OpenZFS-commit: https://github.com/openzfs/openzfs/commit/a3f0e2b569
Closes #8092
cmd/zfs/zfs_main.c
include/libzfs.h
include/libzfs_impl.h
lib/libzfs/libzfs_dataset.c
lib/libzfs/libzfs_mount.c
tests/runfiles/linux.run
tests/zfs-tests/tests/functional/cli_root/zfs_mount/Makefile.am
tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount.kshlib
tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_all_fail.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_all_mountpoints.ksh [new file with mode: 0755]