Whamcloud - gitweb
LU-16988 mdd: update projid when merging layout 59/51859/5
authorHongchao Zhang <hongchao@whamcloud.com>
Mon, 14 Aug 2023 07:28:17 +0000 (15:28 +0800)
committerOleg Drokin <green@whamcloud.com>
Wed, 6 Sep 2023 06:21:07 +0000 (06:21 +0000)
commitbb2525b0ddf9190ae340552fa615833b735b61d3
tree4d0a9618729e2f27ad6e414ea6b21f419a608915
parentbf5e5a89f9f4680c42f768b8474a3ea0bc014b54
LU-16988 mdd: update projid when merging layout

When creating mirrors by the special directory ".lustre/fid",
the project ID could not be set correctly, which causes
wrong quota calculation for the projid.

Signed-off-by: Hongchao Zhang <hongchao@whamcloud.com>
Change-Id: Ia4c3a8973b8c467642e12629d36fa42d64162084
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51859
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Sergey Cheremencev <scherementsev@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/mdd/mdd_object.c
lustre/tests/sanity-quota.sh
lustre/utils/lfs.c