Searched refs:pool (Results 1 - 25 of 237) sorted by relevance

12345678910

/illumos-gate/usr/src/man/man3pool/
H A DMakefile19 MANSECT= 3pool
21 MANFILES= pool_associate.3pool \
22 pool_component_info.3pool \
23 pool_component_to_elem.3pool \
24 pool_conf_alloc.3pool \
25 pool_dynamic_location.3pool \
26 pool_error.3pool \
27 pool_get_binding.3pool \
28 pool_get_pool.3pool \
29 pool_get_property.3pool \
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool/
H A Dzpool_002_pos.ksh53 if poolexists $pool; then
54 log_must zpool destroy -f $pool
68 pool=pool.$$
76 set -A cmds "create $pool mirror $vdev1 $vdev2" "list $pool" "iostat $pool" \
77 "status $pool" "upgrade $pool" "get delegation $pool" "se
[all...]
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dprintpooldata.c17 void printpooldata(pool, opts)
18 ip_pool_t *pool;
23 if ((pool->ipo_flags & IPOOL_ANON) != 0)
24 PRINTF("# 'anonymous' tree %s\n", pool->ipo_name);
27 PRINTF("Name: %s", pool->ipo_name);
28 if ((pool->ipo_flags & IPOOL_ANON) == IPOOL_ANON)
34 switch (pool->ipo_unit)
61 PRINTF("unknown(%d)", pool->ipo_unit);
65 PRINTF(" type = tree number = %s\n", pool->ipo_name);
69 PRINTF("\tReferences: %d\tHits: %lu\n", pool
[all...]
H A Dremove_pool.c23 ip_pool_t pool; local
33 op.iplo_size = sizeof(pool);
34 op.iplo_struct = &pool;
36 bzero((char *)&pool, sizeof(pool));
37 pool.ipo_unit = poolp->ipo_unit;
38 strncpy(pool.ipo_name, poolp->ipo_name, sizeof(pool.ipo_name));
39 pool.ipo_flags = poolp->ipo_flags;
H A Dload_pool.c30 ip_pool_t pool; local
45 op.iplo_size = sizeof(pool);
46 op.iplo_struct = &pool;
47 bzero((char *)&pool, sizeof(pool));
48 strncpy(pool.ipo_name, plp->ipo_name, sizeof(pool.ipo_name));
61 pool.ipo_list = plp->ipo_list;
62 printpool(&pool, bcopywrap, pool
[all...]
H A Dprintpool_live.c20 ip_pool_t *printpool_live(pool, fd, name, opts)
21 ip_pool_t *pool;
31 if ((name != NULL) && strncmp(name, pool->ipo_name, FR_GROUPLEN))
32 return pool->ipo_next;
34 printpooldata(pool, opts);
48 iter.ili_unit = pool->ipo_unit;
49 strncpy(iter.ili_name, pool->ipo_name, FR_GROUPLEN);
80 return pool->ipo_next;
/illumos-gate/usr/src/uts/common/rpc/
H A Dsvc.c56 * Each master transport is registered to exactly one thread pool.
70 * A pool represents a kernel RPC service (NFS, Lock Manager, etc.).
71 * Transports related to the service are registered to the service pool.
72 * Service threads can switch between different transports in the pool.
73 * Thus, each service has its own pool of service threads. The maximum
74 * number of threads in a pool is pool->p_maxthreads. This limit allows
82 * In addition, each pool contains a doubly-linked list of transports,
84 * the pool share some other parameters such as stack size and
91 * svc_do_run(), respectively. Once the pool ha
339 SVCPOOL *pool; local
378 svc_pool_cleanup(SVCPOOL *pool) argument
418 svc_pool_tryexit(SVCPOOL *pool) argument
456 SVCPOOL *pool; local
480 SVCPOOL *pool; local
514 svc_pool_unregister(struct svc_globals *svc, SVCPOOL *pool) argument
550 svc_pool_register(struct svc_globals *svc, SVCPOOL *pool, int id) argument
578 svc_pool_init(SVCPOOL *pool, uint_t maxthreads, uint_t redline, uint_t qsize, uint_t timeout, uint_t stksize, uint_t max_same_xprt) argument
661 SVCPOOL *pool; local
694 SVCPOOL *pool; local
768 SVCPOOL *pool; local
830 SVCPOOL *pool = xprt->xp_pool; local
862 svc_xprt_qdestroy(SVCPOOL *pool) argument
872 svc_xprt_qinit(SVCPOOL *pool, size_t qsize) argument
900 svc_xprt_qput(SVCPOOL *pool, SVCMASTERXPRT *xprt) argument
935 svc_xprt_qget(SVCPOOL *pool) argument
970 svc_xprt_qdelete(SVCPOOL *pool, SVCMASTERXPRT *xprt) argument
1563 svc_thread_exit(SVCPOOL *pool, SVCXPRT *clone_xprt) argument
1590 svc_thread_exitdetached(SVCPOOL *pool, SVCXPRT *clone_xprt) argument
1623 SVCPOOL *pool; local
1692 svc_thread_creator(SVCPOOL *pool) argument
1788 svc_creator_signal(SVCPOOL *pool) argument
1802 svc_creator_signalexit(SVCPOOL *pool) argument
1821 svc_poll(SVCPOOL *pool, SVCMASTERXPRT *xprt, SVCXPRT *clone_xprt) argument
2139 SVCPOOL *pool = xprt->xp_pool; local
2197 svc_run(SVCPOOL *pool) argument
2385 SVCPOOL *pool; local
2446 SVCPOOL *pool = xprt->xp_pool; local
2500 SVCPOOL *pool = xprt->xp_pool; local
2619 SVCPOOL *pool = clone_xprt->xp_master->xp_pool; local
2649 SVCPOOL *pool = clone_xprt->xp_master->xp_pool; local
2687 SVCPOOL *pool = xprt->xp_pool; local
2739 SVCPOOL *pool; local
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_mount/
H A Dzfs_mount.kshlib45 # Create pool and ( fs | container | vol ) with the given parameters,
48 function setup_filesystem #disklist #pool #fs #mntpoint #type #vdev
51 typeset pool=$2
57 if [[ -z $pool || -z $fs || -z $mntpoint ]]; then
58 log_note "Missing parameter: (\"$pool\", \"$fs\", \"$mntpoint\")"
75 poolexists $pool || \
76 create_pool $pool $vdev $disklist
78 datasetexists $pool/$fs && \
79 log_must cleanup_filesystem $pool $fs
87 'ctr') log_must zfs create -o mountpoint=$mntpoint $pool/
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_create/
H A Dzpool_create_024_pos.ksh35 # 1. Create N process each of which create/destroy a pool M times.
55 for pool in $child_pools; do
56 typeset vdev0="$TEST_BASE_DIR/$pool-vdev0.img"
57 typeset vdev1="$TEST_BASE_DIR/$pool-vdev1.img"
59 if poolexists $pool; then
60 destroy_pool $pool
77 typeset pool=$1
78 typeset vdev0="$TEST_BASE_DIR/$pool-vdev0.img"
79 typeset vdev1="$TEST_BASE_DIR/$pool-vdev1.img"
91 zpool create $pool
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/redundancy/
H A Dredundancy.kshlib71 # within the specified pool
73 # $1 The specified pool
78 typeset pool=$1
81 [[ -z $pool ]] && log_fail "No specified pool."
85 mntpnt=$(get_prop mountpoint $pool)
95 # Create test pool and fill with files and directories.
97 # $1 pool name
98 # $2 pool type
103 typeset pool
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/removal/
H A Dremoval.kshlib24 # Waits for the pool to finish a removal.
26 function wait_for_removal # pool
28 typeset pool=$1
31 while is_pool_removing $pool; do
36 # The pool state changes before the TXG finishes syncing; wait for
41 log_must is_pool_removed $pool
46 # Removes the specified disk from its respective pool and
58 function attempt_during_removal # pool disk callback [args]
60 typeset pool=$1
67 log_must zpool remove $pool
[all...]
/illumos-gate/usr/src/cmd/pools/poold/
H A Dsvc-poold33 if [ ! -x /usr/lib/pool/poold ]; then
34 echo "/usr/lib/pool/poold not found or not executable"
45 /usr/lib/pool/poold
/illumos-gate/usr/src/test/zfs-tests/tests/functional/trim/
H A Dtrim.kshlib32 # Use mdb to get the approximate number of trim IOs issued for the pool.
38 typeset pool="${1-:$TESTPOOL}"
46 # Get vdevs for the pool
47 spa=$(mdb -ke '::spa' | awk -v pool=$pool '{if ($3 == pool) print $1}')
73 # Get the number of trim IOs issued for the pool (ind or agg).
77 typeset pool="${1-:$TESTPOOL}"
84 rval=$(zpool iostat -pr $pool | awk \
89 rval=$(zpool iostat -pr $pool | aw
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/vdev_zaps/
H A Dvdev_zaps.kshlib63 function assert_zap_common # pool vd lvl zapobj
65 typeset pool=$1
71 log_fail "$vd on $pool has no $lvl ZAP in config"
72 elif [[ -z "$(zdb -d $pool $zapobj | grep 'zap')" ]]; then
73 log_fail "$vd on $pool has no $lvl ZAP in MOS"
77 function assert_top_zap # pool vd conf
79 typeset pool=$1
84 assert_zap_common $pool "$vd" "top" $top_zap
87 function assert_leaf_zap # pool vd conf
89 typeset pool
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_import/
H A Dcleanup.ksh39 for pool in "$TESTPOOL" "$TESTPOOL1"; do
40 datasetexists $pool/$TESTFS && \
41 log_must zfs destroy -Rf $pool/$TESTFS
42 destroy_pool "$pool"
H A Dzpool_import_012_pos.ksh38 # Once a pool has been exported, it should be recreated after a
43 # 1. Create the test pool and hierarchical filesystems.
44 # 2. Export the test pool, or destroy the test pool,
99 log_assert "Verify all mount & share status of sub-filesystems within a pool \
104 for pool in ${pools[@]} ; do
105 log_must zfs create $pool/$TESTFS/$TESTCTR
106 log_must zfs create $pool/$TESTFS/$TESTCTR/$TESTCTR1
107 log_must zfs set canmount=off $pool/$TESTFS/$TESTCTR
108 log_must zfs set canmount=off $pool/
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_initialize/
H A Dzpool_initialize.kshlib20 function initialize_prog_line # pool disk
22 typeset pool="$1"
24 zpool status -i "$pool" | grep "$disk" | grep "[[:digit:]]* initialized"
27 function initialize_progress # pool disk
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_trim/
H A Dzpool_trim.kshlib21 function trim_prog_line # pool disk
23 typeset pool="$1"
25 zpool status -t "$pool" | grep "$disk" | grep "[[:digit:]]* trimmed"
28 function trim_progress # pool disk
/illumos-gate/usr/src/test/zfs-tests/tests/functional/mmp/
H A Dmmp.kshlib32 function check_pool_import # pool opts token keyword
34 typeset pool=${1:-$MMP_POOL}
46 function is_pool_imported # pool opts
48 typeset pool=${1:-$MMP_POOL}
51 check_pool_import "$pool" "$opts" "status" \
52 "The pool is currently imported"
56 function wait_pool_imported # pool opts
58 typeset pool=${1:-$MMP_POOL}
61 while is_pool_imported "$pool" "$opts"; do
68 function try_pool_import # pool opt
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_set/
H A Duser_property_002_pos.ksh40 # 1. Create pool, fs, volume, fsclone & volclone.
41 # 2. Get random user property name and set to the pool
42 # 3. Verify all dataset user property inherit from pool.
61 cleanup_user_prop $pool
97 pool=$TESTPOOL; fs=$pool/$TESTFS; vol=$pool/$TESTVOL
101 fsclone=$pool/fsclone; volclone=$pool/volclone
107 log_must eval "zfs set $prop_name='$value' $pool"
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_user/misc/
H A Dcleanup.ksh40 if poolexists v1-pool
42 log_must zpool destroy v1-pool
H A Dzpool_upgrade_001_neg.ksh42 # 1. Attempt to upgrade a pool
54 # Now try to upgrade our version 1 pool
55 log_mustnot zpool upgrade v1-pool
57 # if the pool has been upgraded, then v1-pool won't be listed in the output
59 RESULT=$(zpool upgrade | grep v1-pool)
62 log_fail "A pool was upgraded successfully!"
H A Dzpool_status_001_neg.ksh48 RESULT=$(grep "pool:" /tmp/pool-status.$$)
51 log_fail "No pool: string found in zpool status output!"
53 rm /tmp/pool-status.$$
60 log_must eval "zpool status > /tmp/pool-status.$$"
63 log_must eval "zpool status -v > /tmp/pool-status.$$"
66 log_must eval "zpool status $TESTPOOL> /tmp/pool-status.$$"
69 log_must eval "zpool status -v $TESTPOOL > /tmp/pool-status.$$"
73 log_must eval "zpool status -x $TESTPOOL.virt > /tmp/pool-status.$$"
/illumos-gate/usr/src/lib/libast/common/sfio/
H A Dsfstack.c73 if(f1->pool && f1->pool != &_Sfpool && f1->pool != f2->pool &&
74 f1 == f1->pool->sf[0])
75 { /* get something else to pool front since f1 will be locked */
76 for(n = 1; n < f1->pool->n_sf; ++n)
77 { if(SFFROZEN(f1->pool->sf[n]) )
79 (*_Sfpmove)(f1->pool->sf[n],0);
85 if(f2->pool
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_upgrade/
H A Dzpool_upgrade.kshlib37 # files make up the pool, and what the pool name is.
40 # A function to import a pool from files we have stored in the test suite
41 # We import the pool, and create some random data in the pool.
42 # $1 a version number we can use to get information about the pool
57 # Put some random contents into the pool
65 # A function to check the contents of a pool, upgrade it to the current version
67 # not using "zpool status -x" to see if the pool is healthy, as it's possible
69 # $1 a version number we can use to get information about the pool
[all...]

Completed in 185 milliseconds

12345678910