Whamcloud - gitweb
LU-6826 lod: validate stripe_count and offset 30/16130/3
authorwang di <di.wang@intel.com>
Thu, 27 Aug 2015 10:35:18 +0000 (03:35 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 10 Sep 2015 04:17:26 +0000 (04:17 +0000)
commit46ebfdd558dbe57db6cf51351246ca81bd38e4c9
treebfa0904affcc11911bd01d43ecaaa9e3723ef37a
parentc27bfc3b78c13a164440f50c5de82aa4493235a9
LU-6826 lod: validate stripe_count and offset

Validate stripe_offset and stripe_count in lod_ah_init, so
these two values will not cause unexpected failures in the
following creation.

Add sanity.sh 300m to verify the case.

Signed-off-by: wang di <di.wang@intel.com>
Change-Id: I3d36b29079a36355eb4a8d645b70c04aa6d80a40
Reviewed-on: http://review.whamcloud.com/16130
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/lod/lod_object.c
lustre/tests/sanity.sh