Whamcloud - gitweb
LU-11213 uapi: change "space" hash type to hash flag 18/35318/3
authorLai Siyao <lai.siyao@whamcloud.com>
Fri, 21 Jun 2019 06:47:42 +0000 (14:47 +0800)
committerOleg Drokin <green@whamcloud.com>
Fri, 12 Jul 2019 05:19:38 +0000 (05:19 +0000)
commitc605ef1dbeb401bdff5ab3cfa1c407ea87a7b95d
tree185e7f1f8b02a20180d6a030c378fb6254205b5b
parent096db80e0810b4abb8e268a58623c23bf0b57d2c
LU-11213 uapi: change "space" hash type to hash flag

Change LMV_HASH_TYPE_SPACE to LMV_HASH_FLAG_SPACE to make it flexible
in directory layout inheritance in the future. But it's still exposed
to user as hash type "space" in "lfs setdirstripe" command to make
it easy to understand.

Signed-off-by: Lai Siyao <lai.siyao@whamcloud.com>
Change-Id: Ifa302204ed62dff8cc9d12fdc1f9ea86f8491d40
Reviewed-on: https://review.whamcloud.com/35318
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Hongchao Zhang <hongchao@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
13 files changed:
lustre/include/lustre_lmv.h
lustre/include/uapi/linux/lustre/lustre_idl.h
lustre/include/uapi/linux/lustre/lustre_user.h
lustre/lfsck/lfsck_striped_dir.c
lustre/lmv/lmv_obd.c
lustre/lod/lod_object.c
lustre/mdt/mdt_reint.c
lustre/ptlrpc/wiretest.c
lustre/utils/lfs.c
lustre/utils/liblustreapi.c
lustre/utils/lustreapi_internal.h
lustre/utils/wirecheck.c
lustre/utils/wiretest.c