-
Notifications
You must be signed in to change notification settings - Fork 309
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DAOS-11406 rdb: Use VOS local TXs #12330
Conversation
Bug-tracker data: |
There was a problem hiding this 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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Style warning(s) for job https://build.hpdd.intel.com/job/daos-stack/job/daos/job/PR-12330/2/
Please review https://wiki.hpdd.intel.com/display/DC/Coding+Rules
Test stage checkpatch completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-12330/2/execution/node/145/log |
@jolivier23, @kccain, just in case you are interested, I requested draft reviews to make this PR easier for you to find. |
Test stage Functional Hardware Medium Verbs Provider completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-12330/2/execution/node/1242/log |
There was a problem hiding this 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.
There was a problem hiding this 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.
There was a problem hiding this 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.
Test stage Build on EL 8 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-12330/5/execution/node/396/log |
Test stage Build RPM on EL 9 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-12330/5/execution/node/362/log |
Test stage Build RPM on EL 8 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-12330/5/execution/node/372/log |
Test stage Build RPM on Leap 15.4 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-12330/5/execution/node/306/log |
There was a problem hiding this 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.
Test stage Build on EL 8 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-12330/6/execution/node/388/log |
Test stage Build RPM on EL 9 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-12330/6/execution/node/337/log |
Test stage Build RPM on EL 8 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-12330/6/execution/node/364/log |
There was a problem hiding this 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.
Every RDB (update) TX invokes multiple VOS writes, each of which performs a WAL commit. This patch reduces those WAL commits to one per RDB TX by utilizing the new VOS local TXs to group all VOS writes of one RDB TX into one VOS local TX. - An rdb_vos_tx_t handle is introduced to hide the vos/dtx details from the rest of rdb. - Some rdb_lc_discard calls are no longer necessary, for the VOS local TX mechanism will discard uncommited writes more efficiently. - Some "nvops" ("number of VOS TX operations") functions are added to provide dtx_begin with an upper bound of the number of VOS TX operations that will be invoked using a VOS TX handle. Hopefully this will become unnecessary in the future. - The rdb_tx_hdr decoding in rdb_tx_apply should use the actual length of the data, rather than the expected length. - Two places related to rdb_tx_hdr need to be refactored a bit in order to avoid compiler warnings along the line of "hdr may be used uninitialized". It's unclear why the compiler warnings suddenly come up. Signed-off-by: Li Wei <[email protected]> Required-githooks: true
Rebased due to the base branch change. No code changes. |
Test stage Functional Hardware Medium Verbs Provider completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-12330/26/execution/node/1544/log |
daos_test/rebuild_simple: DAOS-15290 |
Required-githooks: true
Test stage Build on EL 8 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-12330/27/execution/node/366/log |
Test stage Build on Leap 15.5 with Intel-C and TARGET_PREFIX completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-12330/27/execution/node/370/log |
Test stage Build RPM on EL 9 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-12330/27/execution/node/306/log |
Test stage Build RPM on Leap 15.5 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-12330/27/execution/node/322/log |
Test stage Build RPM on EL 8 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-12330/27/execution/node/319/log |
Test stage Build DEB on Ubuntu 20.04 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-12330/27/execution/node/433/log |
Signed-off-by: Li Wei <[email protected]> Required-githooks: true
Test stage Functional Hardware Medium Verbs Provider completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-12330/28/execution/node/1451/log |
rebuild_simple REBUILD27: DAOS-15647 |
This reverts commit b9b4f29. Test-tag: test_daos_vol_mpich test_ior_small test_mdtest_small test_osa_online_drain_oclass test_create_pool_quantity test_aggregation_punching test_smallfilecount Skip-func-hw-test-medium-md-on-ssd: false Skip-func-hw-test-medium: true Quick-Functional: true Required-githooks: true Signed-off-by: Mohamad Chaarawi <[email protected]> Priority: 2
Every RDB (update) TX invokes multiple VOS writes, each of which
performs a WAL commit. This patch reduces those WAL commits to one per
RDB TX by utilizing the new VOS local TXs to group all VOS writes of one
RDB TX into one VOS local TX.
An rdb_vos_tx_t handle is introduced to hide the vos/dtx details
from the rest of rdb.
Some rdb_lc_discard calls are no longer necessary, for the VOS local
TX mechanism will discard uncommited writes more efficiently.
Some "nvops" ("number of VOS TX operations") functions are added to
provide dtx_begin with an upper bound of the number of VOS TX
operations that will be invoked using a VOS TX handle. Hopefully
this will become unnecessary in the future.
The rdb_tx_hdr decoding in rdb_tx_apply should use the actual length
of the data, rather than the expected length.
Two places related to rdb_tx_hdr need to be refactored a bit in
order to avoid compiler warnings along the line of "hdr may be used
uninitialized". It's unclear why the compiler warnings suddenly come
up.
Before requesting gatekeeper:
Features:
(orTest-tag*
) commit pragma was used or there is a reason documented that there are no appropriate tags for this PR.Gatekeeper: