Whamcloud - gitweb
LU-10808 lod: align wrong DoM stripe values with defaults 73/32073/5
authorMikhail Pershin <mike.pershin@intel.com>
Thu, 19 Apr 2018 13:29:54 +0000 (16:29 +0300)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 7 Jun 2018 20:08:01 +0000 (20:08 +0000)
commit9146d261f35b394e10afde3eec2d5895425261e0
tree9ebcf974aff9d99639a96440fc9fcb5cfd6f6845
parentede9b4f8f5be8a8a93619336d7d8c97b3f9833c5
LU-10808 lod: align wrong DoM stripe values with defaults

- Align DoM component size to the server limit size instead of
  returning a error. Error is returned still if DoM file creation
  is disabled on the server (DOM limit is set to 0)
- Correct wrong values for dom_stripesize parameter by using minimal
  stripe size if provided value is lower and by aligning it to be a
  multiple of that minimal size.

Signed-off-by: Mikhail Pershin <mike.pershin@intel.com>
Change-Id: Ifcdf60fddda65acda92509bb7e69c9b2951fb6bd
Reviewed-on: https://review.whamcloud.com/32073
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/lod/lod_lov.c
lustre/lod/lproc_lod.c
lustre/tests/sanity.sh