Whamcloud - gitweb
LU-7584 tests: create file on single MDS in sanity test 129 92/18192/8
authorJian Yu <jian.yu@intel.com>
Thu, 28 Jan 2016 22:54:35 +0000 (14:54 -0800)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 5 Feb 2016 14:56:28 +0000 (14:56 +0000)
commit1299e2aff9af57fc8a79a6fa09c1676a61cbfa4b
tree61d0668e428719acaa0a22321a581031d7a2db82
parent5951a1aaffc4b1a0adb0c6033fa4eb4be43c350c
LU-7584 tests: create file on single MDS in sanity test 129

In sanity test 129, it creates only one more file to check
whether the directory size exceeds the limit or not. However,
with DNE configuration, the new file might be created in a
different stripe from the previous one that hit ENOSPC.
So, directory size might not exceed the limit, which causes
the test fail.

Since the test is for checking ldiskfs dir size parameters, the
patch just fixes it to create files on single MDS so as to make
sure creating new files will increase the directory size.

Test-Parameters: envdefinitions=ONLY=129 clientdistro=el7 ossdistro=el7 mdsdistro=el7 mdscount=2 mdtcount=4 testlist=sanity
Signed-off-by: Jian Yu <jian.yu@intel.com>
Change-Id: I75a2437fe3a4f6b160651d8704799ce8478a0041
Reviewed-on: http://review.whamcloud.com/18192
Tested-by: Jenkins
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: wangdi <di.wang@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/sanity.sh