Whamcloud - gitweb
LU-9771 util: rename LCM_FL_NOT_FLR to LCM_FL_NONE 47/31047/6
authorAndreas Dilger <andreas.dilger@intel.com>
Fri, 26 Jan 2018 21:37:35 +0000 (14:37 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 14 Feb 2018 00:51:00 +0000 (00:51 +0000)
commitfa15e5347c2eccd432924e57440829606c7339f6
treebd49418314cea53e4211415f00f0c9ac846245e5
parent21e39775a0f4f8d7819a49c37b59379a1181f52a
LU-9771 util: rename LCM_FL_NOT_FLR to LCM_FL_NONE

Having "lfs getstripe" print out "lcm_flags: not_flr" is not very
useful, as the composite files may not relate to FLR (e.g. PFL).
Rename "LCM_FL_NOT_FLR" to "LCM_FL_NONE" so it is more clear there
are no composite flags on the layout.

Print out "0" for flags if no flags are set, to match old behaviour.

Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Change-Id: Ib3701da8368253969567b927300cd42bc33ebbe5
Reviewed-on: https://review.whamcloud.com/31047
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Tested-by: Jenkins
Reviewed-by: Jian Yu <jian.yu@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
12 files changed:
lustre/include/lustre/lustreapi.h
lustre/include/uapi/linux/lustre/lustre_user.h
lustre/lod/lod_object.c
lustre/lov/lov_cl_internal.h
lustre/lov/lov_object.c
lustre/mdd/mdd_object.c
lustre/ptlrpc/wiretest.c
lustre/utils/lfs.c
lustre/utils/liblustreapi.c
lustre/utils/liblustreapi_layout.c
lustre/utils/wirecheck.c
lustre/utils/wiretest.c