Whamcloud - gitweb
LU-7770 lov: fix statfs for conf-sanity test_50b 69/33369/6
authorAndreas Dilger <adilger@whamcloud.com>
Mon, 8 Oct 2018 22:00:08 +0000 (16:00 -0600)
committerOleg Drokin <green@whamcloud.com>
Mon, 29 Oct 2018 16:02:32 +0000 (16:02 +0000)
commitb917406a7f0a84442b046df34fada6f395ba6928
tree9d864dc92371ee637e59d0e48885ce6479dbd886
parentdfc6833663e53d71801f72eb7b84e6a8448271f1
LU-7770 lov: fix statfs for conf-sanity test_50b

Wait for the *client* to be disconnected from the OSTs, not the MDS,
to ensure that the test is actually doing what it thinks it should.
In conf-sanity.sh::lazystatfs(), sleep between statfs operations to
ensure we are not just getting locally-cached statfs results.
Print out device status to ensure that wait_osc_import_state has
actually waited long enough for OSCs to be marked disconnected.

In obd_statfs() print the device name in the debug logs for clarity.

Have "lfs df" print block stats from MDTs only if no OSTs connected.

Checkpatch should warn about get_seconds(), not ktime_get_seconds().

Test-Parameters: mdtcount=4 testlist=conf-sanity,conf-sanity,conf-sanity envdefinitions=ONLY=50b
Test-Parameters: mdtcount=4 testlist=conf-sanity,conf-sanity,conf-sanity envdefinitions=ONLY=50b
Test-Parameters: mdtcount=4 testlist=conf-sanity,conf-sanity,conf-sanity envdefinitions=ONLY=50b
Change-Id: Icbe68f0a133f04f89d44f74a5caaa6c523fcab07
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/33369
Tested-by: Jenkins
Reviewed-by: Ben Evans <bevans@cray.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
contrib/scripts/spelling.txt
lustre/include/obd_class.h
lustre/lov/lov_obd.c
lustre/tests/conf-sanity.sh
lustre/utils/lfs.c