Skip to content

DAOS-6440 vos: remove invalid DTX status check#4303

Merged
jolivier23 merged 1 commit intomasterfrom
DAOS-6440
Jan 22, 2021
Merged

DAOS-6440 vos: remove invalid DTX status check#4303
jolivier23 merged 1 commit intomasterfrom
DAOS-6440

Conversation

@Nasf-Fan
Copy link
Copy Markdown
Contributor

@Nasf-Fan Nasf-Fan commented Jan 15, 2021

The dtx_leader_begin() may generate DTX entry in DRAM before any
real modification. The index for such DTX entry will not be set
until all related modifications are done locally. If the DTX is
aborted before that, the dtx_rec_release() that is triggered by
DTX abort logic will hit assertaion when check the index of DTX
entry, that is wrong, and should be removed.

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

jolivier23
jolivier23 previously approved these changes Jan 15, 2021
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.

The dtx_leader_begin() may generate DTX entry in DRAM before any
real modification. The index for such DTX entry will not be set
until all related modifications are done locally. If the DTX is
aborted before that, the dtx_rec_release() that is triggered by
DTX abort logic will hit assertaion when check the index of DTX
entry, that is wrong, and should be removed.

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.

@Nasf-Fan
Copy link
Copy Markdown
Contributor Author

daos_test -T failed for DAOS-6539.

@Nasf-Fan
Copy link
Copy Markdown
Contributor Author

@wangdi1, @mjean308
Would you please to help on the review? Thanks!

@Nasf-Fan Nasf-Fan requested a review from NiuYawei January 21, 2021 04:40
@mjean308
Copy link
Copy Markdown
Contributor

@Nasf-Fan I re-ran my test with the latest rpms from this PR and I am still seeing lots (10000's ) of DER_CSUM errrors with checksum enabled on the container and DER_NO_PERM (-1001) when checksum is disabled on the container.

@Nasf-Fan
Copy link
Copy Markdown
Contributor Author

@Nasf-Fan I re-ran my test with the latest rpms from this PR and I am still seeing lots (10000's ) of DER_CSUM errrors with checksum enabled on the container and DER_NO_PERM (-1001) when checksum is disabled on the container.

This patch only fixes the DTX assertion() in VOS, nothing related with the checksum error. We need other patch to resolve checksum related issue.

@Nasf-Fan Nasf-Fan requested a review from a team January 22, 2021 02:04
@Nasf-Fan
Copy link
Copy Markdown
Contributor Author

@daos-stack/daos-gatekeeper , please help to land this patch. Thanks!

@jolivier23 jolivier23 merged commit 291dfe3 into master Jan 22, 2021
@jolivier23 jolivier23 deleted the DAOS-6440 branch January 22, 2021 19:00
Nasf-Fan added a commit that referenced this pull request Jan 26, 2021
Contains the patches:
#4013
#4303
#4326
#4341
#4354

Skip-nlt: true

Signed-off-by: Fan Yong <fan.yong@intel.com>
Nasf-Fan added a commit that referenced this pull request Jan 28, 2021
To catch what caused the  unexpected -DER_TX_RESTART in the
IO (read/enum/query) task callback.

Contains the patches:
#4013
#4303
#4326
#4354

Just for test.

Skip-nlt: true

Signed-off-by: Fan Yong <fan.yong@intel.com>
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.

6 participants