Whamcloud - gitweb
LU-7759 llite: handle inactive OSTs better in statfs 95/19195/28
authorAndreas Dilger <andreas.dilger@intel.com>
Tue, 29 Mar 2016 17:29:57 +0000 (11:29 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 27 Jun 2016 18:56:25 +0000 (18:56 +0000)
commit23fde1f89bec0adf4f7181ccce5a236eac371a38
treec5f0352ced76a50c8b21a6a6cdb80513407a91de
parent0e4e1f61d1196df7415ee143804debcfe0ee88dd
LU-7759 llite: handle inactive OSTs better in statfs

Change the order of checks for inactive OSCs in lov_prep_statfs_set()
so that administratively disabled OSTs do not generate any output in
"lfs df" at all, to avoid needlessly cluttering the output.

Enable the lazystatfs mount option by default, so that "df" does not
hang when an OST is temporarily offline.

Fix test-framework.sh to use "lfs df $MOUNT" instead of "df $MOUNT" to
determine when recovery is complete, now that "df" does not block.

Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Change-Id: I993761a7eb120a36a1b80c2822cb6d8011ccab07
Reviewed-on: http://review.whamcloud.com/19195
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/llite/llite_lib.c
lustre/lov/lov_request.c
lustre/obdclass/genops.c
lustre/tests/recovery-small.sh
lustre/tests/replay-ost-single.sh
lustre/tests/test-framework.sh