Skip to content

crimson/os/seastore: cleanups related to managing omap and log tree - #62079

Merged
cyx1231st merged 20 commits into
ceph:mainfrom
myoungwon:seastore-omap-log-cleanup
Mar 17, 2025
Merged

cyx1231st merged 20 commits into
ceph:mainfrom
myoungwon:seastore-omap-log-cleanup

Conversation

@myoungwon

@myoungwon myoungwon commented Mar 2, 2025 •

Copy link
Copy Markdown
Member

Follow-up:
#59213 (comment)
#59213 (comment)

Signed-off-by: Yingxin Cheng [email protected]
Signed-off-by: Myoungwon Oh [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

cyx1231st and others added 14 commits February 28, 2025 09:29
Signed-off-by: Yingxin Cheng <[email protected]>
Signed-off-by: Myoungwon Oh <[email protected]>
Signed-off-by: Yingxin Cheng <[email protected]>
Signed-off-by: Myoungwon Oh <[email protected]>
Signed-off-by: Yingxin Cheng <[email protected]>
Signed-off-by: Myoungwon Oh <[email protected]>
Signed-off-by: Yingxin Cheng <[email protected]>
Signed-off-by: Myoungwon Oh <[email protected]>
Signed-off-by: Yingxin Cheng <[email protected]>
Signed-off-by: Myoungwon Oh <[email protected]>
@myoungwon
myoungwon force-pushed the seastore-omap-log-cleanup branch from fd5b913 to f8c794f Compare March 3, 2025 02:09
@cyx1231st cyx1231st added this to Crimson Mar 4, 2025
@cyx1231st cyx1231st moved this to In Progress in Crimson Mar 4, 2025
@cyx1231st

Copy link
Copy Markdown
Member

jenkins retest this please

1 similar comment
@cyx1231st

Copy link
Copy Markdown
Member

jenkins retest this please

@myoungwon myoungwon changed the title [WIP] crimson/os/seastore: cleanups related to managing omap and log tree crimson/os/seastore: cleanups related to managing omap and log tree Mar 12, 2025
@myoungwon

myoungwon commented Mar 12, 2025 •

Copy link
Copy Markdown
Member Author

@cyx1231st I performed a rebase based on the recent changes. Most of the commit need to be changed due to the recent change , so I remade some of them. Can you take a look?

@cyx1231st

Copy link
Copy Markdown
Member

I'll review it soon. I'm still going through another PR, nearly done.

@cyx1231st
cyx1231st self-requested a review March 12, 2025 02:19
@cyx1231st

Copy link
Copy Markdown
Member

Looks transaction_manager_test/tm_multi_tier_device_test_t.evict/0 is somehow stalled.

@cyx1231st

Copy link
Copy Markdown
Member

jenkins retest this please

1 similar comment
@cyx1231st

Copy link
Copy Markdown
Member

jenkins retest this please

Comment thread src/crimson/os/seastore/seastore.cc Resolved
Comment thread src/crimson/os/seastore/seastore.cc Resolved
@cyx1231st

cyx1231st commented Mar 12, 2025 •

Copy link
Copy Markdown
Member

(unrelated to this PR, for #59213)

Seems to me SeaStore::Shard::_omap_clear() should clear omap_type_t::LOG as well. What do you think? @myoungwon

@myoungwon

Copy link
Copy Markdown
Member Author

(unrelated to this PR, for #59213)

Seems to me SeaStore::Shard::_omap_clear() should clear omap_type_t::LOG as well. What do you think? @myoungwon

Right. I'll add a commit to address it.

@cyx1231st

Copy link
Copy Markdown
Member

@myoungwon I appended 4 commits for further cleanups and fixes, please take a look.

@zhscn I grouped the usages of onode.get_metadata_hint() in seastore.cc. I think this can be cleaner for the hint redesign.

@myoungwon

Copy link
Copy Markdown
Member Author

The changes look good to me.

@myoungwon

Copy link
Copy Markdown
Member Author

jenkins test api

1 similar comment
@cyx1231st

Copy link
Copy Markdown
Member

jenkins test api

@cyx1231st

Copy link
Copy Markdown
Member

jenkins test make check

@cyx1231st

Copy link
Copy Markdown
Member

jenkins test api

@cyx1231st cyx1231st moved this from In Progress to Needs QA in Crimson Mar 14, 2025
@cyx1231st

Copy link
Copy Markdown
Member

jenkins test make check

2 similar comments
@myoungwon

Copy link
Copy Markdown
Member Author

jenkins test make check

@cyx1231st

Copy link
Copy Markdown
Member

jenkins test make check

@cyx1231st
cyx1231st merged commit 352d1a4 into ceph:main Mar 17, 2025
@cyx1231st cyx1231st moved this from Needs QA to Merged in Crimson Mar 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Merged (Pre Tentacle Freeze)

Development

Successfully merging this pull request may close these issues.

2 participants