Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
None
-
3
-
9762
Description
In replay-barrier
replay_barrier() {
local facet=$1
do_facet $facet "sync; sync; sync"
df $MOUNT
- make sure there will be no seq change
local clients=${CLIENTS:-$HOSTNAME}
do_nodes $clients "f=${MOUNT}/fsa-\$(hostname); mcreate \$f; rm \$f"
local svc=${facet}_svc
do_facet $facet $LCTL --device %${!svc} notransno
do_facet $facet $LCTL --device %${!svc} readonly
do_facet $facet $LCTL mark "$facet REPLAY BARRIER on ${!svc}"
$LCTL mark "local REPLAY BARRIER on ${!svc}"
}
"sync sync sync" should be moved after the mcreate, so all of the ops should be committed before the barrier, otherwise mcreate might be replayed as well, which sometimes confuse the test results.
http://review.whamcloud.com/3842