Whamcloud - gitweb
LU-9597 test: wait setattr finished before checking accounting 25/27425/11
authorWang Shilong <wshilong@ddn.com>
Wed, 7 Jun 2017 08:10:12 +0000 (16:10 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 19 Jun 2017 16:28:12 +0000 (16:28 +0000)
commit5d09fc803fc23ec0eaec741be3122ccae8c6dfcb
treef00f3323026aca2519ccfad71de46ad385731fa0
parentb5705391d609b7e14335f790998367a6329169f3
LU-9597 test: wait setattr finished before checking accounting

Need wait setattr finished for ost objects, otherwise, accounting
for projects won't be accurate, also add failure check for setattr
ioctl.

Test-Parameters: testlist=sanity-quota,sanity-quota,sanity-quota,sanity-quota clientdistro=el7 serverdistro=el7 \
        ostfilesystemtype=ldiskfs mdtfilesystemtype=ldiskfs
Change-Id: I106689c224997f79eb779fdc6843704ae7e9ffe6
Signed-off-by: Wang Shilong <wshilong@ddn.com>
Reviewed-on: https://review.whamcloud.com/27425
Tested-by: Jenkins
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Reviewed-by: Li Xi <lixi@ddn.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Yingjin Qian <qian@ddn.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/sanity-quota.sh