Whamcloud - gitweb
LU-15850 llite: pass dmv inherit depth instead of dir depth 77/47577/6
authorLai Siyao <lai.siyao@whamcloud.com>
Thu, 9 Jun 2022 11:40:42 +0000 (07:40 -0400)
committerOleg Drokin <green@whamcloud.com>
Wed, 3 Aug 2022 04:07:09 +0000 (04:07 +0000)
commitc23c68a52a04369101db2bd3b1d3da23025fcf48
tree649a193a8800c4e6cb04ea98a8d831a3c0f482ad
parentec4126dcee97eab9a377899221c05d3e15746ebf
LU-15850 llite: pass dmv inherit depth instead of dir depth

In directory creation, once it's ancestor has default LMV, pass
the inherit depth, otherwise pass the directory depth to ROOT.

This depth will be used in QoS allocation.

Signed-off-by: Lai Siyao <lai.siyao@whamcloud.com>
Change-Id: Id480f32c1718e9f62314c2dfe8905be5db94d1f2
Reviewed-on: https://review.whamcloud.com/47577
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Hongchao Zhang <hongchao@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre_lmv.h
lustre/llite/dir.c
lustre/llite/llite_internal.h
lustre/llite/llite_lib.c
lustre/llite/namei.c
lustre/lod/lod_internal.h