Whamcloud - gitweb
LU-3720 test: use actual stripe count in sanity.sh 130d 03/7303/2
authorEmoly Liu <emoly.liu@intel.com>
Fri, 31 May 2013 20:14:08 +0000 (04:14 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 3 Sep 2013 05:36:17 +0000 (05:36 +0000)
commit5cb384104b9100d6833534c08597c04fa0ea3680
tree39775b9a6f8f9a26c51d8b388fd81e610081faf6
parenta5b42797d1cd20dcce06be0d3b5cf33578e5c864
LU-3720 test: use actual stripe count in sanity.sh 130d

The test is expecting each OST to get a specific amount if data based
in the size and stripe count, but if an OST is full, more data will be
written to each of the other OSTs.
To fix that, use the actual number of stripes allocated instead of the
requested number of stripes.

Signed-off-by: Emoly Liu <emoly.liu@intel.com>
Change-Id: Iadb0daf16d7c121d2104f1fe49afa7f762a7f52a
Reviewed-on: http://review.whamcloud.com/7303
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: James Nunez <james.a.nunez@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/sanity.sh