Whamcloud - gitweb
LU-4768 tests: Update ost-survey script 40/12240/5
authorJames Nunez <james.a.nunez@intel.com>
Wed, 8 Oct 2014 23:46:28 +0000 (17:46 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 29 Oct 2014 18:55:11 +0000 (18:55 +0000)
commit892ab143608d43590cab73366afda201cf018803
tree027b8f66bb1ab0184cb02d88e3ad53ec885b689b
parent93423cc9114721f32e5c36e21a8b56d2a463125b
LU-4768 tests: Update ost-survey script

Currently, ost-survey hangs due to calling
'lfs setstripe' in an old (positional) style and
setting max_cached_mb to zero.

The call to 'lfs setstripe' is updated to use the
'-S', '-i' and '-c' flags. max_cached_mb is now
set to pagesize * 256 (in MB). The patch also gets
parameters for the correct file system if more
than one Lustre file system is mounted, and
corrects a few typos in comments.

In ll_max_cached_mb_seq_write(), the number of
pages requested is set to the max of pages requested
or PTLRPC_MAX_BRW_PAGES to allow the client to make
well formed RPCs.

This is a backport to b2_5
Lustre-change: http://review.whamcloud.com/#/c/11971/4
Lustre-commit: 46bec835ac726aa2d06024b197002be7b112e192

with some changes to ost-survey from
Lustre-change: http://review.whamcloud.com/#/c/10534/8
Lustre-commit: fe3ddff77475dd487873e2f873835455aab7aa38

Signed-off-by: James Nunez <james.a.nunez@intel.com>
Change-Id: Ia9f22c19f95b85d14687bdaf70cad05ca3a3f455
Reviewed-on: http://review.whamcloud.com/12240
Tested-by: Jenkins
Reviewed-by: Cliff White <cliff.white@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre-iokit/ost-survey/ost-survey
lustre/llite/lproc_llite.c