Don't report multiple transaction cases to console but
make it as debug message.
Fixes:
4e2e8fd2fc0a ("LU-15847 tgt: reply always with the latest assigned transno")
Signed-off-by: Mikhail Pershin <mpershin@whamcloud.com>
Change-Id: If9b47dfedcaf67487954189e8a75d2029a502469
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/48958
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
{
struct tgt_session_info *tsi = data;
- if (tsi->tsi_has_trans > 1)
- CDEBUG(D_WARNING, "total %i transactions per RPC\n",
+ /**
+ * Check cases when that is true to add proper
+ * handling and set mult_trans
+ */
+ if (!tsi->tsi_mult_trans && tsi->tsi_has_trans > 1)
+ CDEBUG(D_HA, "total %i transactions per RPC\n",
tsi->tsi_has_trans);
tsi->tsi_has_trans = 0;
tsi->tsi_mult_trans = false;