Whamcloud - gitweb
LU-15847 tgt: move tti_ transaction params to tsi_ 91/47491/5
authorMikhail Pershin <mpershin@whamcloud.com>
Sat, 28 May 2022 18:16:11 +0000 (21:16 +0300)
committerOleg Drokin <green@whamcloud.com>
Tue, 25 Oct 2022 17:24:12 +0000 (17:24 +0000)
commit0a317b171ebedcba8fc58e548991a884186c350c
tree0ef3bcc6d4c76169ebd1d9c92933d65bc8c38ca9
parent4e2e8fd2fc0a9a30f47e70dc285a2101d2cbc4c2
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.

Signed-off-by: Mikhail Pershin <mpershin@whamcloud.com>
Change-Id: I3f0c15e283b9e21c04a009f6cf346afa278e7095
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/47491
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: John Hammond <jhammond@whamcloud.com>
Reviewed-by: Lai Siyao <lai.siyao@whamcloud.com>
Reviewed-by: Oleg Drokin <green@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