Whamcloud - gitweb
LU-9069 tests: improve output of sanity test_255a 07/24907/7
authorAndreas Dilger <andreas.dilger@intel.com>
Mon, 16 Jan 2017 21:24:10 +0000 (14:24 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 1 May 2017 18:31:41 +0000 (18:31 +0000)
commitbdd470ff9765cb81d94b888ee1067e1c420303bc
tree9cc8c0a3a0e721e130ef554af97b7ead706bd13b
parentae68b6a67f8cf39e2a474e2610e50ea55e8e8a50
LU-9069 tests: improve output of sanity test_255a

Improve output of sanity.sh test_255a to contain more information.
Clean up the performance measurements and calculations to make the
test easier to read.  The random_read_iops() helper routine might
be useful for other tests in the future as well.

The test does not (yet) work for ZFS, so it will skip the checks on
ZFS OSTs until "ladvise -a dontneed" is implemented for osd-zfs.

Test-Parameters: trivial
Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Change-Id: Ia177d87e41266b058a6863bbf36108ad71ef9a00
Reviewed-on: https://review.whamcloud.com/24907
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Saurabh Tandan <saurabh.tandan@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/doc/lfs-ladvise.1
lustre/tests/sanity.sh
lustre/utils/lfs.c