Whamcloud - gitweb
LU-16988 mdd: update projid when merging layout
authorHongchao Zhang <hongchao@whamcloud.com>
Mon, 14 Aug 2023 07:28:17 +0000 (15:28 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Mon, 11 Sep 2023 00:22:38 +0000 (00:22 +0000)
commit5f732db844f11dfb42340d9d0a8db3d093a76a5f
treed65a8e3e4ce40d0f06b16649dbf85364a00982e5
parentf2bb1849a5c748ec4747b54bfb7ed9452006fc86
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.

Lustre-change: https://review.whamcloud.com/51859
Lustre-commit: bb2525b0ddf9190ae340552fa615833b735b61d3

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