Whamcloud - gitweb
LU-12570 mdt: request env for DT threads 79/36179/3
authorAlexey Zhuravlev <bzzz@whamcloud.com>
Fri, 13 Sep 2019 19:28:06 +0000 (22:28 +0300)
committerOleg Drokin <green@whamcloud.com>
Fri, 27 Sep 2019 23:09:23 +0000 (23:09 +0000)
commit1f94d5eb2be4e921e909d8f18523dcab91bb6531
treef5af4b072f26decf2d2a703fa138352dcc9985ff
parent95f8ae5677491508ae7182b4f61ead3d413434ae
LU-12570 mdt: request env for DT threads

as part of lock enqueue MDT thread can call ldlm_reclaim_full() to
cancel old unused LDLM locks and that scans all presented namespace
including OFD-originated (with extent locks). thus MDT ends with
calls into OFD code which needs own env marked with LCT_DT_THREAD.

Test-Parameters: testlist=sanity,sanity,sanity,sanity envdefinitions=ONLY="134a",SHARED_KEY=true
Test-Parameters: testlist=sanity,sanity,sanity,sanity envdefinitions=ONLY="134a",SHARED_KEY=true
Test-Parameters: testlist=sanity,sanity,sanity,sanity envdefinitions=ONLY="134a",SHARED_KEY=true
Signed-off-by: Alexey Zhuravlev <bzzz@whamcloud.com>
Change-Id: I231b88159978bc3ce7a3fa0f27e57eb32137c343
Reviewed-on: https://review.whamcloud.com/36179
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/mdt/mdt_mds.c