Whamcloud - gitweb
LU-15847 tgt: move tti_ transaction params to tsi_
authorMikhail Pershin <mpershin@whamcloud.com>
Sat, 28 May 2022 18:16:11 +0000 (21:16 +0300)
committerAndreas Dilger <adilger@whamcloud.com>
Mon, 31 Oct 2022 04:08:14 +0000 (04:08 +0000)
commit4164a891224db3de230dc1d40d6330b9bd1b1cd2
tree87028899eeb737af709ae292026605828ab200a4
parent1f02fd10f0ab7e8ab2420c40d926392a74d97147
LU-15847 tgt: move tti_ transaction params to tsi_

Move tti_mult_trans and tti_has_trans to tgt_session_info to
be available in all targets. This allows to cleanup old MDT
duplicating code and can be used for complex transaction
handling in MDT/OFD if needed.

Lustre-change: https://review.whamcloud.com/c/fs/lustre-release/+/47491
Lustre-commit: 0a317b171ebedcba8fc58e548991a884186c350c

Signed-off-by: Mikhail Pershin <mpershin@whamcloud.com>
Change-Id: I3f0c15e283b9e21c04a009f6cf346afa278e7095
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/48979
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/include/lu_target.h
lustre/mdt/mdt_handler.c
lustre/mdt/mdt_internal.h
lustre/mdt/mdt_recovery.c
lustre/target/out_handler.c
lustre/target/tgt_handler.c
lustre/target/tgt_internal.h
lustre/target/tgt_lastrcvd.c
lustre/target/tgt_main.c