aboutsummaryrefslogtreecommitdiffstats
path: root/include/libzfs.h
diff options
context:
space:
mode:
authorSebastien Roy <[email protected]>2018-11-05 08:40:05 -0700
committerBrian Behlendorf <[email protected]>2018-11-15 11:33:58 -0800
commita10d50f999511d304f910852c7825c70c9c9e303 (patch)
tree636446232088444d7dfab1b7a2dc7ca541ee1f9e /include/libzfs.h
parentaf2e8411dacbc694b1aaf9074e68a9d12270e74c (diff)
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 <[email protected]> Reviewed by: Matthew Ahrens <[email protected]> Reviewed by: Pavel Zakharov <[email protected]> Reviewed by: Brad Lewis <[email protected]> Reviewed by: George Wilson <[email protected]> Reviewed by: Paul Dagnelie <[email protected]> Reviewed by: Prashanth Sreenivasa <[email protected]> Authored by: Brian Behlendorf <[email protected]> Approved by: Matt Ahrens <[email protected]> Ported-by: Don Brady <[email protected]> OpenZFS-issue: https://www.illumos.org/issues/8115 OpenZFS-commit: https://github.com/openzfs/openzfs/commit/a3f0e2b569 Closes #8092
Diffstat (limited to 'include/libzfs.h')
-rw-r--r--include/libzfs.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/libzfs.h b/include/libzfs.h
index d34658055..762d57bef 100644
--- a/include/libzfs.h
+++ b/include/libzfs.h
@@ -573,12 +573,11 @@ typedef struct get_all_cb {
zfs_handle_t **cb_handles;
size_t cb_alloc;
size_t cb_used;
- boolean_t cb_verbose;
- int (*cb_getone)(zfs_handle_t *, void *);
} get_all_cb_t;
+void zfs_foreach_mountpoint(libzfs_handle_t *, zfs_handle_t **, size_t,
+ zfs_iter_f, void *, boolean_t);
void libzfs_add_handle(get_all_cb_t *, zfs_handle_t *);
-int libzfs_dataset_cmp(const void *, const void *);
/*
* Functions to create and destroy datasets.