Whamcloud - gitweb
LU-9657 llapi: check if the file layout is composite 52/27752/4
authorEmoly Liu <emoly.liu@intel.com>
Wed, 28 Jun 2017 09:28:34 +0000 (17:28 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 19 Jul 2017 03:29:06 +0000 (03:29 +0000)
commit11670b4c5e7014e2092bfa7ca6ba96ecca5d9d4e
treeafb1f55fec8469553cb5e8b5920b2d036ce04469
parentb9ecf2671cba08530cc49d47713a360f2c6c25ca
LU-9657 llapi: check if the file layout is composite

Add a new API llapi_layout_is_composite() to check if the file
layout is composite.

Signed-off-by: Emoly Liu <emoly.liu@intel.com>
Change-Id: Ie7d60f95feb9dfde5fbf52ea65ebd26b925bd33d
Reviewed-on: https://review.whamcloud.com/27752
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/include/lustre/lustreapi.h
lustre/utils/lfs.c
lustre/utils/liblustreapi_layout.c