Skip to content

DAOS-9216 dtx: use helper ULT to send DTX RPC#7779

Merged
johannlombardi merged 1 commit intorelease/2.0from
DAOS-9216_b20
Dec 29, 2021
Merged

DAOS-9216 dtx: use helper ULT to send DTX RPC#7779
johannlombardi merged 1 commit intorelease/2.0from
DAOS-9216_b20

Conversation

@Nasf-Fan
Copy link
Copy Markdown
Contributor

master-commit: 440d0e6

If the DTX touches a lot of targets, and if we use current main XS to
classify the DTX entries and send out related RPCs, then it may cause
the main SX to be held for relative long time as to have no chance to
handle other request, such as the DTX RPC from other targets. That is
the potential risk of dead lock (or RPC timeout) among the targets if
most of them are busy with DTX commit/abort with lots of targets.

This patch defines new threshold "DTX_RPC_HELPER_THD": if the targets
to be handled for the DTX RPC exceeds (or may exceed) such threshold,
we will create a helper ULT to handle that dedicatedly.

Signed-off-by: Fan Yong fan.yong@intel.com

master-commit: 440d0e6

If the DTX touches a lot of targets, and if we use current main XS to
classify the DTX entries and send out related RPCs, then it may cause
the main SX to be held for relative long time as to have no chance to
handle other request, such as the DTX RPC from other targets. That is
the potential risk of dead lock (or RPC timeout) among the targets if
most of them are busy with DTX commit/abort with lots of targets.

This patch defines new threshold "DTX_RPC_HELPER_THD": if the targets
to be handled for the DTX RPC exceeds (or may exceed) such threshold,
we will create a helper ULT to handle that dedicatedly.

Signed-off-by: Fan Yong <fan.yong@intel.com>
Copy link
Copy Markdown
Collaborator

@daosbuild1 daosbuild1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. No errors found by checkpatch.

@johannlombardi johannlombardi requested a review from a team December 28, 2021 17:07
@johannlombardi johannlombardi merged commit 577d51c into release/2.0 Dec 29, 2021
@johannlombardi johannlombardi deleted the DAOS-9216_b20 branch December 29, 2021 09:25
daltonbohning added a commit that referenced this pull request Feb 1, 2022
daltonbohning added a commit that referenced this pull request Feb 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants