Whamcloud - gitweb
LU-7710 test: sync all clients in recovery-small 130[acb] 38/18138/3
authorJohn L. Hammond <john.hammond@intel.com>
Mon, 25 Jan 2016 20:41:49 +0000 (14:41 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 28 Jan 2016 18:16:56 +0000 (18:16 +0000)
In recovery-small test_130[abc]() call sync on all clients rather than
just on the client where the test script is running.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: I1d7aec650d08a6fb417a5df3509b657e9ccda902
Reviewed-on: http://review.whamcloud.com/18138
Tested-by: Jenkins
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: James Nunez <james.a.nunez@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/recovery-small.sh

index 51f5e1f..03ce07c 100755 (executable)
@@ -2258,7 +2258,7 @@ test_130_base() {
 
        # Prevent interference from layout intent RPCs due to
        # asynchronous writeback. These will be tested in 130c below.
-       sync
+       do_nodes ${CLIENTS:-$HOSTNAME} sync
 
        # get only LOOKUP lock on $tdir
        cancel_lru_locks mdc
@@ -2309,7 +2309,7 @@ run_test 130b "enqueue resend on a stale inode"
 test_130c() {
        remote_mds_nodsh && skip "remote MDS with nodsh" && return
 
-       sync
+       do_nodes ${CLIENTS:-$HOSTNAME} sync
        echo XXX > $DIR/$tfile
 
        cancel_lru_locks mdc