Whamcloud - gitweb
LU-9489 lod: keep minimum LOVEA size 89/27089/14
authorBobi Jam <bobijam.xu@intel.com>
Fri, 12 May 2017 02:13:57 +0000 (10:13 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 7 Jun 2017 20:30:21 +0000 (20:30 +0000)
commit62f64a1077468e01a41df35212b5e5b1fe6b31d5
treeb41728a7e6cec568fb9e9e1141feea201ecc7c0e
parentc252b3b1658cb9615989aae333ab8157e8386c4f
LU-9489 lod: keep minimum LOVEA size

For a PFL file, some of its component could be un-instantiated, and
their lov_ost_data_v1 array is not needed, we should keep its LOVEA
as small as possible.

An unstantiated component's stripe offset should be set.

Signed-off-by: Bobi Jam <bobijam.xu@intel.com>
Change-Id: I1cd70399446f063dca4de5b61d7e1dc2c8dde37c
Reviewed-on: https://review.whamcloud.com/27089
Tested-by: Jenkins
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/lod/lod_internal.h
lustre/lod/lod_lov.c
lustre/lod/lod_object.c
lustre/lov/lov_internal.h
lustre/tests/conf-sanity.sh
lustre/tests/sanity-lfsck.sh
lustre/tests/sanity-pfl.sh