diff options
author | George Amanakis <[email protected]> | 2020-04-17 12:27:40 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2020-04-17 09:27:40 -0700 |
commit | 9249f1272ec08316f4482cba145b42ba935d3b02 (patch) | |
tree | 3e8c385e00c8ec0a05868e124091349c8918152e /tests | |
parent | a7929f31373497590f5884efbc7cde29104e94d5 (diff) |
Persistent L2ARC minor fixes
Minor fixes on persistent L2ARC improving code readability and fixing
a typo in zdb.c when byte-swapping a log block. It also improves the
pesist_l2arc_007_pos.ksh test by giving it more time to retrieve log
blocks on the cache device.
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Adam D. Moss <[email protected]>
Signed-off-by: George Amanakis <[email protected]>
Closes #10210
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/zfs-tests/tests/functional/persist_l2arc/persist_l2arc_007_pos.ksh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/zfs-tests/tests/functional/persist_l2arc/persist_l2arc_007_pos.ksh b/tests/zfs-tests/tests/functional/persist_l2arc/persist_l2arc_007_pos.ksh index e3c983be8..c79c39276 100755 --- a/tests/zfs-tests/tests/functional/persist_l2arc/persist_l2arc_007_pos.ksh +++ b/tests/zfs-tests/tests/functional/persist_l2arc/persist_l2arc_007_pos.ksh @@ -72,7 +72,7 @@ log_must fio $FIO_SCRIPTS/random_reads.fio log_must zpool offline $TESTPOOL $VDEV_CACHE -sleep 5 +sleep 10 typeset l2_rebuild_log_blk_start=$(get_arcstat l2_rebuild_log_blks) @@ -81,7 +81,7 @@ typeset l2_dh_log_blk=$(zdb -l $VDEV_CACHE | grep log_blk_count | \ log_must zpool online $TESTPOOL $VDEV_CACHE -sleep 5 +sleep 10 typeset l2_rebuild_log_blk_end=$(get_arcstat l2_rebuild_log_blks) |