Whamcloud - gitweb
LU-9335 pfl: calculate PFL file LOVEA correctly 11/26611/2
authorBobi Jam <bobijam.xu@intel.com>
Thu, 13 Apr 2017 16:37:25 +0000 (00:37 +0800)
committerAndreas Dilger <andreas.dilger@intel.com>
Fri, 14 Apr 2017 15:52:35 +0000 (15:52 +0000)
commita719cedfe4e449c088fd03e09f2b4064cd2ef688
tree36fabf61e7fb42e0d99c846c73ca1e4c246eda37
parentf227664658dfe2b278f4b296ac46cdd4ef69edf3
LU-9335 pfl: calculate PFL file LOVEA correctly

PFL file could contain uninstantiated component, so it could still
keeps the specified -1 stripe count, lov_mds_md_size() should heed
this case, otherwise its LOVEA size could be errneous big.

Signed-off-by: Bobi Jam <bobijam.xu@intel.com>
Change-Id: Iff741b8ebb1b54d9b27859822735b488e645d85c
Reviewed-on: https://review.whamcloud.com/26611
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/lov/lov_internal.h