Whamcloud - gitweb
LU-16629 osd: refill the existing env 70/50270/1
authorHongchao Zhang <hongchao@whamcloud.com>
Mon, 6 Mar 2023 13:17:10 +0000 (08:17 -0500)
committerhxing <hxing@ddn.com>
Mon, 13 Mar 2023 07:10:41 +0000 (15:10 +0800)
commitc9673c45a9c279b12ccb8804d54508905a1e79ee
treebc149e11529c7a81bb88992d75d4da50db2cf271
parent0adebb70a48c12ce6d537174c9470b5f9f918e3d
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.

Change-Id: Ibae978a5a10826c2e3186012911870ce7bf0b147
Signed-off-by: Hongchao Zhang <hongchao@whamcloud.com>
lustre/mdt/mdt_io.c