Skip to content

crimson/os/seastore: refactor LBAMapping - #61261

Merged
cyx1231st merged 1 commit into
ceph:mainfrom
xxhdx1985126:wip-seastore-lba-backref-mapping
Jan 14, 2025
Merged

cyx1231st merged 1 commit into
ceph:mainfrom
xxhdx1985126:wip-seastore-lba-backref-mapping

Conversation

@xxhdx1985126

Copy link
Copy Markdown
Member

So that PhyscalNodeMapping doesn't contain LBAMapping specific interfaces.

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 x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox
  • jenkins test windows
  • jenkins test rook e2e

@xxhdx1985126
xxhdx1985126 requested a review from cyx1231st January 8, 2025 08:56
@xxhdx1985126
xxhdx1985126 requested a review from a team as a code owner January 8, 2025 08:56
@xxhdx1985126
xxhdx1985126 force-pushed the wip-seastore-lba-backref-mapping branch from 4dce0ab to 1ef134a Compare January 8, 2025 09:42
@xxhdx1985126

Copy link
Copy Markdown
Member Author

jenkins test make check

@xxhdx1985126
xxhdx1985126 force-pushed the wip-seastore-lba-backref-mapping branch from 1ef134a to ad08f3e Compare January 9, 2025 03:32

@cyx1231st cyx1231st left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Cleanup looks great! Some questions.

Comment thread src/crimson/os/seastore/lba_mapping.h Resolved
@xxhdx1985126
xxhdx1985126 force-pushed the wip-seastore-lba-backref-mapping branch from ad08f3e to 5cfd394 Compare January 9, 2025 07:19
@xxhdx1985126

Copy link
Copy Markdown
Member Author

jenkins test make check

@xxhdx1985126
xxhdx1985126 force-pushed the wip-seastore-lba-backref-mapping branch from 5cfd394 to 80a3738 Compare January 9, 2025 09:40
@xxhdx1985126

Copy link
Copy Markdown
Member Author

@cyx1231st All done, please take a look again, thanks.

So that PhyscalNodeMapping doesn't contain LBAMapping specific
interfaces

Signed-off-by: Xuehan Xu <[email protected]>
@xxhdx1985126
xxhdx1985126 force-pushed the wip-seastore-lba-backref-mapping branch from 80a3738 to cadb202 Compare January 10, 2025 07:16
@cyx1231st

cyx1231st commented Jan 13, 2025 •

Copy link
Copy Markdown
Member

@cyx1231st

cyx1231st commented Feb 27, 2025 •

Copy link
Copy Markdown
Member

See #61735 (comment)

btree_lba_manager.h:307:2: runtime error: downcast of misaligned address 0xfffffffffffffe49 for type 'LogicalChildNode', which requires 8 byte alignment
btree_lba_manager.cc:446:8: runtime error: upcast of misaligned address 0xfffffffffffffe49 for type 'crimson::os::seastore::LogicalChildNode', which requires 8 byte alignment
btree_lba_manager.cc:450:29: runtime error: upcast of misaligned address 0xfffffffffffffe49 for type 'crimson::os::seastore::LogicalChildNode', which requires 8 byte alignment

Probably related to this PR.

@Matan-B

Matan-B commented Feb 27, 2025

Copy link
Copy Markdown
Contributor

See #61735 (comment)

btree_lba_manager.h:307:2: runtime error: downcast of misaligned address 0xfffffffffffffe49 for type 'LogicalChildNode', which requires 8 byte alignment
btree_lba_manager.cc:446:8: runtime error: upcast of misaligned address 0xfffffffffffffe49 for type 'crimson::os::seastore::LogicalChildNode', which requires 8 byte alignment
btree_lba_manager.cc:450:29: runtime error: upcast of misaligned address 0xfffffffffffffe49 for type 'crimson::os::seastore::LogicalChildNode', which requires 8 byte alignment

Probably related to this PR.

This one looks related due to the diff here #61347, looking

@xxhdx1985126

Copy link
Copy Markdown
Member Author

See #61735 (comment)

btree_lba_manager.h:307:2: runtime error: downcast of misaligned address 0xfffffffffffffe49 for type 'LogicalChildNode', which requires 8 byte alignment
btree_lba_manager.cc:446:8: runtime error: upcast of misaligned address 0xfffffffffffffe49 for type 'crimson::os::seastore::LogicalChildNode', which requires 8 byte alignment
btree_lba_manager.cc:450:29: runtime error: upcast of misaligned address 0xfffffffffffffe49 for type 'crimson::os::seastore::LogicalChildNode', which requires 8 byte alignment

Probably related to this PR.

This one looks related due to the diff here #61347, looking

I don't understand this, the make check arm64 of #61347 was successful.

@cyx1231st

Copy link
Copy Markdown
Member

@xxhdx1985126 the sympton seems to be that the arm unit test are timed-out frequently starting recently, see https://tracker.ceph.com/issues/70202, although it was already taking very long time.

And looks like the above error doesn't fail the tests directly, more like warnings.

@xxhdx1985126

xxhdx1985126 commented Mar 3, 2025 •

Copy link
Copy Markdown
Member Author

@xxhdx1985126 the sympton seems to be that the arm unit test are timed-out frequently starting recently, see https://tracker.ceph.com/issues/70202, although it was already taking very long time.

And looks like the above error doesn't fail the tests directly, more like warnings.

Got it, Thanks:-)
I've just pushed a PR #62084 to fix the misaligned address issue, please take a look, thanks:-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants