Repository navigation
crimson/os/seastore/linked_tree_node: set reserved_ptr to an 8-byte aligned address - #62084
Conversation
|
I've got no aarch64 environments at hand, but I believe this should fix the issue, please schedule a unittest-transaction-manager/unittest-omap-manager run for |
You can re-enable the arm64 tests on this PR only by reverting my commit 5ae5338 in this PR. |
There was a problem hiding this comment.
I was able to hit this on x86_64 (non-arm) locally:
kernel callstack:
ceph/src/crimson/os/seastore/lba_manager/btree/btree_lba_manager.h:295:2: runtime error: pointer index expression with base 0x000000000001 overflowed to 0xfffffffffffffe49
ceph/src/crimson/os/seastore/lba_manager/btree/btree_lba_manager.cc:444:6: runtime error: member access within misaligned address 0xfffffffffffffe49 for type 'struct LogicalChild
Node', which requires 8 byte alignment
0xfffffffffffffe49: note: pointer points here
<memory cannot be printed>
ceph/src/crimson/os/seastore/lba_manager/btree/btree_lba_manager.cc:444:6: runtime error: pointer index expression with base 0xfffffffffffffe49 overflowed to 0x000000000001
ceph/src/crimson/os/seastore/lba_manager/btree/btree_lba_manager.cc:450:28: runtime error: member access within misaligned address 0xfffffffffffffe49 for type 'struct LogicalChil
dNode', which requires 8 byte alignment
0xfffffffffffffe49: note: pointer points here
<memory cannot be printed>
ceph/src/crimson/os/seastore/lba_manager/btree/btree_lba_manager.cc:450:28: runtime error: pointer index expression with base 0xfffffffffffffe49 overflowed to 0x000000000001
With this patch:
kernel callstack:
ceph/src/crimson/os/seastore/lba_manager/btree/btree_lba_manager.h:295:2: runtime error: pointer index expression with base 0x000000000010 overflowed to 0xfffffffffffffe58
ceph/src/crimson/os/seastore/lba_manager/btree/btree_lba_manager.cc:444:6: runtime error: pointer index expression with base 0xfffffffffffffe58 overflowed to 0x000000000010
ceph/src/crimson/os/seastore/lba_manager/btree/btree_lba_manager.cc:450:28: runtime error: pointer index expression with base 0xfffffffffffffe58 overflowed to 0x000000000010
member access within misaligned address seems to be ok now, but we still have overflow.
Note: You can also revert 59df54e now (conflicts)
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
|
Seems that we are still having a timeout: Let's still merge this once ready to solve the |
f391ac6 to
fb274e6
Compare
|
@Matan-B Please take a look, again. The |
Matan-B
left a comment
There was a problem hiding this comment.
This seems to resolve the runtime errors (https://tracker.ceph.com/issues/70202).
The disabled tests are still timed out, let's keep them disabled and merge the fix only.
aligned address Maybe we shouldn't be using an instant integer as the invalid pointer. Fixes: https://tracker.ceph.com/issues/70202 Signed-off-by: Xuehan Xu <[email protected]>
|
@Matan-B @cyx1231st just modified the pr as suggested, please take a look, again. Thanks:-) |
|
Maybe we shouldn't be using an instant integer as the invalid pointer.
Fixes: https://tracker.ceph.com/issues/70202
Signed-off-by: Xuehan Xu [email protected]
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job Definition