Whamcloud - gitweb
LU-11213 dne: add new dir hash type "space" 58/34358/12
authorLai Siyao <lai.siyao@whamcloud.com>
Thu, 14 Feb 2019 21:16:33 +0000 (05:16 +0800)
committerOleg Drokin <green@whamcloud.com>
Tue, 4 Jun 2019 05:26:47 +0000 (05:26 +0000)
commita24f6153292753bf6e40f5638930d6cffa78e1ac
tree42adaa7997dff7391b12845d4bb99d07cc7e5346
parentd37b0ab99eaeeac391088848c275d2757b6ff17d
LU-11213 dne: add new dir hash type "space"

Add a new hash type "space", if this is set on default LMV of
a directory, its subdirs will be created on all MDTs with
balanced space usage.

* new hash type LMV_HASH_TYPE_SPACE.

Signed-off-by: Lai Siyao <lai.siyao@whamcloud.com>
Change-Id: I8edf38f94e24965b1cffb21253c3be0eef68c707
Reviewed-on: https://review.whamcloud.com/34358
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Hongchao Zhang <hongchao@whamcloud.com>
lustre/include/uapi/linux/lustre/lustre_user.h
lustre/lmv/lmv_obd.c
lustre/lod/lod_object.c
lustre/utils/lfs.c
lustre/utils/liblustreapi.c