Searched refs:mmp_delay (Results 1 - 8 of 8) sorted by relevance

/freebsd-13-stable/sys/contrib/openzfs/include/sys/
H A Duberblock.h44 uint64_t mmp_delay);
H A Dmmp.h47 uint64_t mmp_delay; /* decaying avg ns between MMP writes */ member in struct:mmp_thread
H A Dspa.h977 uint64_t mmp_delay, vdev_t *vd, int label, uint64_t mmp_kstat_id,
/freebsd-13-stable/sys/contrib/openzfs/module/zfs/
H A Duberblock.c48 uberblock_update(uberblock_t *ub, vdev_t *rvd, uint64_t txg, uint64_t mmp_delay) argument
63 ub->ub_mmp_delay = mmp_delay;
H A Dmmp.c65 * mmp_delay field is a decaying average of the amount of time between
106 * within (multihost_interval + mmp_delay) because multihost_interval is
107 * enough time for a write to be attempted to each leaf vdev, and mmp_delay
336 * much longer, intervals. The mmp_delay captures long periods between
340 * The mmp_delay is usually calculated as a decaying average, but if the latest
345 * the mmp_delay could become very small. Since those short delays depend on
346 * activity we cannot count on, we never allow mmp_delay to get lower than rate
350 * mmp_delay, we need to update it so the next write reflects the longer delay.
352 * Do not set mmp_delay if the multihost property is not on, so as not to
364 mts->mmp_delay
[all...]
H A Dspa_stats.c564 * mmp_delay delay value at timestamp
574 uint64_t mmp_delay; /* mmp_thread.mmp_delay at timestamp */ member in struct:spa_mmp_history
589 "mmp_delay", "vdev_guid", "vdev_label", "vdev_path");
605 (longlong_t)smh->duration, (u_longlong_t)smh->mmp_delay,
739 uint64_t mmp_delay, vdev_t *vd, int label, uint64_t mmp_node_id,
751 smh->mmp_delay = mmp_delay;
738 spa_mmp_history_add(spa_t *spa, uint64_t txg, uint64_t timestamp, uint64_t mmp_delay, vdev_t *vd, int label, uint64_t mmp_node_id, int error) argument
H A Dvdev_label.c1902 txg, spa->spa_mmp.mmp_delay);
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/mmp/
H A Dmmp.kshlib181 typeset mmp_delay
186 mmp_delay=$(awk '/mmp_delay/ {print $NF}' $tmpfile)
194 elif [ -n $mmp_delay ]; then
195 # MMP V0: Based on mmp_delay from the best Uberblock
196 seconds=$((import_intervals*devices*mmp_delay/1000000000))
278 /mmp_delay/ {delay=$3; if (delay==0) {delay_zero++};};

Completed in 128 milliseconds