From d5b10b3ef3b5e82b9e5a9bee122f1a0be007dae2 Mon Sep 17 00:00:00 2001 From: Giuseppe Di Natale Date: Tue, 20 Feb 2018 16:28:52 -0800 Subject: [PATCH] Correct count_uberblocks in mmp.kshlib A log_must call was causing count_uberblocks to return more than just the uberblock count. Remove the log_must since it was only logging a sleep. Reviewed-by: Brian Behlendorf Reviewed-by: Olaf Faaland Reviewed-by: loli10K Signed-off-by: Giuseppe Di Natale Closes #7191 --- tests/zfs-tests/tests/functional/mmp/mmp.kshlib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/zfs-tests/tests/functional/mmp/mmp.kshlib b/tests/zfs-tests/tests/functional/mmp/mmp.kshlib index 4c46ae7a2..1f8d66fd9 100644 --- a/tests/zfs-tests/tests/functional/mmp/mmp.kshlib +++ b/tests/zfs-tests/tests/functional/mmp/mmp.kshlib @@ -198,6 +198,6 @@ function count_uberblocks # pool duration typeset -i duration=$2 typeset hist_path="/proc/spl/kstat/zfs/$pool/multihost" - log_must sleep $duration + sleep $duration echo $(cat "$hist_path" | sed '1,2d' | wc -l) }