]> granicus.if.org Git - zfs/commit
ZTS: Fix create-o_ashift test case
authorLOLi <loli10K@users.noreply.github.com>
Tue, 19 Dec 2017 18:49:33 +0000 (19:49 +0100)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 19 Dec 2017 18:49:33 +0000 (10:49 -0800)
commitc30e34faa12e4b6e190edcccd4b2db185a286680
treea52c946aab279cca8486309c4ff4a896fbf90f07
parentbbffb59efc49baba1d131d497202e8cda0068c3d
ZTS: Fix create-o_ashift test case

The function that fills the uberblock ring buffer on every device label
has been reworked to avoid occasional failures caused by a race
condition that prevents 'zpool sync' from writing some uberblock
sequentially: this happens when the pool sync ioctl dispatch code calls
txg_wait_synced() while we're already waiting for a TXG to sync.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes #6924
Closes #6977
cmd/zdb/zdb.c
tests/zfs-tests/tests/functional/cli_root/zpool_create/create-o_ashift.ksh