Whamcloud - gitweb
LU-9357 pfl: should inherit pool from previous layout comp 50/26750/5
authorBobi Jam <bobijam.xu@intel.com>
Thu, 20 Apr 2017 04:42:41 +0000 (12:42 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 12 May 2017 05:06:20 +0000 (05:06 +0000)
commitca50009a3d2f5fed0c07f2ddaeecf4b252c70f6a
treed8347eff3be6e022443fc250684e3848f3802846
parent8bbbd4ea4f10a6d907ff0885d6c8334dacd748a6
LU-9357 pfl: should inherit pool from previous layout comp

llapi_layout_comp_add() should inherit pool from previous component
layout so that user doesn't need to specify the same pool name
everytime a new component is added if necessary.

Signed-off-by: Bobi Jam <bobijam.xu@intel.com>
Change-Id: I5437112d9eb51b7c4a3e5e67b65302df15eca681
Reviewed-on: https://review.whamcloud.com/26750
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
lustre/tests/sanity-pfl.sh
lustre/utils/liblustreapi_layout.c