Whamcloud - gitweb
LU-10024 tests: sanity 120f restore stripe count option 04/29204/2
authorJames Nunez <james.a.nunez@intel.com>
Mon, 25 Sep 2017 21:22:04 +0000 (15:22 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 28 Sep 2017 05:55:50 +0000 (05:55 +0000)
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 <james.a.nunez@intel.com>
Change-Id: I33c98259c0ee7a209afa4e9002b3aa8cab42d55c
Reviewed-on: https://review.whamcloud.com/29204
Tested-by: Jenkins
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Gu Zheng <gzheng@ddn.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/tests/sanity.sh

index a136f4b..628cf5b 100755 (executable)
@@ -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