Whamcloud - gitweb
LU-15850 llite: pass dmv inherit depth instead of dir depth
authorLai Siyao <lai.siyao@whamcloud.com>
Thu, 9 Jun 2022 11:40:42 +0000 (07:40 -0400)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 5 Aug 2022 23:12:14 +0000 (23:12 +0000)
commit0f39a623e875804015caf8e91979aeccc129d3b1
treebb9f5e7e34c731b325e384b7b0508b9187c9e3b0
parent7b8eb7ab7282e91f42b6243cb6f00fb17cf1acbb
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.

Lustre-change: https://review.whamcloud.com/47577
Lustre-commit: c23c68a52a04369101db2bd3b1d3da23025fcf48

Signed-off-by: Lai Siyao <lai.siyao@whamcloud.com>
Change-Id: Id480f32c1718e9f62314c2dfe8905be5db94d1f2
Reviewed-on: https://review.whamcloud.com/47870
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@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