Whamcloud - gitweb
LU-16629 osd: refill the existing env
authorHongchao Zhang <hongchao@whamcloud.com>
Mon, 6 Mar 2023 13:17:10 +0000 (08:17 -0500)
committerAndreas Dilger <adilger@whamcloud.com>
Tue, 21 Mar 2023 20:59:25 +0000 (20:59 +0000)
commit187a81e6a72ea6274a0cd226d6e67a10fc947fb4
tree0bd25216086b04356d4143f2ae04945259da3fa2
parentbc9bf12098351718531318ae24e2a7d7b8c9878d
LU-16629 osd: refill the existing env

During the LDLM lock callback, the "lu_env" is created in
ldlm_bl_thread_main, which is initiated by "ldlm_setup",
and it could have no key of "osd_thread_info" yet, then it
need to call "lu_env_refill" to refill the keys.

Lustre-change: https://review.whamcloud.com/50270
Lustre-commit: TBD (from c9673c45a9c279b12ccb8804d54508905a1e79ee)

Change-Id: Ibae978a5a10826c2e3186012911870ce7bf0b147
Signed-off-by: Hongchao Zhang <hongchao@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/50273
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/mdt/mdt_io.c