Whamcloud - gitweb
LU-9342 pfl: handle uninited component in user defined LOVEA 35/26635/5
authorBobi Jam <bobijam.xu@intel.com>
Fri, 14 Apr 2017 08:06:34 +0000 (16:06 +0800)
committerJinshan Xiong <jinshan.xiong@intel.com>
Mon, 1 May 2017 21:42:56 +0000 (21:42 +0000)
commit2c031f6651a5be4f8c5b58f986b584d7821b0f2b
treee81cf96daae29ae8a0d59ca40214ade9e57415aa
parent6424e3fe13851ff23e38194d5a0b2f6725a18197
LU-9342 pfl: handle uninited component in user defined LOVEA

It is possible that user defined LOVEA contains uninstantiated flag
like replay of create or layout extend or lfs swap, the partial LOVEA
will passed into
lod_declare_xattr_set()->lod_declare_striped_object()->
lod_prepare_create()->lod_qos_parse_config()->
lod_use_defined_striping(),
so that lod_use_defined_striping() also need to take care of
uninstantiated component entry.

Signed-off-by: Bobi Jam <bobijam.xu@intel.com>
Change-Id: I45d46b118bcde66f4604b80e2da51a808f381219
Reviewed-on: https://review.whamcloud.com/26635
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
lustre/lod/lod_qos.c
lustre/tests/sanity.sh