Whamcloud - gitweb
LU-11279 lod: reset ostlist properly in lod_get_default_lov_striping 69/33069/7
authorWang Shilong <wshilong@ddn.com>
Fri, 24 Aug 2018 06:49:06 +0000 (14:49 +0800)
committerOleg Drokin <green@whamcloud.com>
Tue, 4 Sep 2018 03:49:29 +0000 (03:49 +0000)
commit4e4751d5bf7af565f9fc41f5001dae81f67be891
tree326ffdd0355dc3d197281c3629c819e66b8904d3
parent40295e5ca3e5ed51c8236a2e641627d687b7d59c
LU-11279 lod: reset ostlist properly in lod_get_default_lov_striping

Ostlist might be allocated previously, and we should
reset them properly, otherwise, it will pollute new
default setting and cause unexpected behavior.

Test-Parameters: trivial testlist=sanity,sanity,sanity,sanity,sanity,sanity,sanity,sanity,sanity
Change-Id: I9b7acb5f05ec4b371da99f68b9647f0b75cd7021
Signed-off-by: Wang Shilong <wshilong@ddn.com>
Reviewed-on: https://review.whamcloud.com/33069
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/lod/lod_lov.c
lustre/lod/lod_object.c
lustre/lod/lod_qos.c
lustre/tests/sanity.sh