From: James Nunez Date: Mon, 25 Sep 2017 21:22:04 +0000 (-0600) Subject: LU-10024 tests: sanity 120f restore stripe count option X-Git-Tag: 2.10.54~19 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=bf990d3f75821e47c33d6c26b780090142d05ddc;p=fs%2Flustre-release.git LU-10024 tests: sanity 120f restore stripe count option The patch for LU-3308 with commit ID c75aa6c74cd86c6 removed the stripe count, '-c', input parameter for three calls to test_mkdir in santiy test 120f. The stripe count parameter should be restored so the test will work correctly. Test-Parameters: trivial testgroup=review-dne-part-1 Signed-off-by: James Nunez Change-Id: I33c98259c0ee7a209afa4e9002b3aa8cab42d55c Reviewed-on: https://review.whamcloud.com/29204 Tested-by: Jenkins Reviewed-by: John L. Hammond Reviewed-by: James Simmons Tested-by: Maloo Reviewed-by: Gu Zheng Reviewed-by: Andreas Dilger --- diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index a136f4b..628cf5b 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -8577,11 +8577,11 @@ test_120f() { $LCTL get_param -n mdc.*.connect_flags | grep -q early_lock_cancel || { skip "no early lock cancel on server"; return 0; } remote_mds_nodsh && skip "remote MDS with nodsh" && return - test_mkdir $DIR/$tdir + test_mkdir -c1 $DIR/$tdir lru_resize_disable mdc lru_resize_disable osc - test_mkdir $DIR/$tdir/d1 - test_mkdir $DIR/$tdir/d2 + test_mkdir -c1 $DIR/$tdir/d1 + test_mkdir -c1 $DIR/$tdir/d2 dd if=/dev/zero of=$DIR/$tdir/d1/f1 count=1 dd if=/dev/zero of=$DIR/$tdir/d2/f2 count=1 cancel_lru_locks mdc