Skip to content

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

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

crimson/os/seastore: cleanups related to managing omap and log tree #62079
cyx1231st merged 20 commits intoceph:mainfrom
myoungwon:seastore-omap-log-cleanup

Conversation

@myoungwon
Copy link
Member

@myoungwon myoungwon commented Mar 2, 2025

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

Signed-off-by: Yingxin Cheng yingxin.cheng@intel.com
Signed-off-by: Myoungwon Oh ohmyoungwon@gmail.com

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 <yingxin.cheng@intel.com>
Signed-off-by: Myoungwon Oh <ohmyoungwon@gmail.com>
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Signed-off-by: Myoungwon Oh <ohmyoungwon@gmail.com>
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Signed-off-by: Myoungwon Oh <ohmyoungwon@gmail.com>
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Signed-off-by: Myoungwon Oh <ohmyoungwon@gmail.com>
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Signed-off-by: Myoungwon Oh <ohmyoungwon@gmail.com>
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Signed-off-by: Myoungwon Oh <ohmyoungwon@gmail.com>
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Signed-off-by: Myoungwon Oh <ohmyoungwon@gmail.com>
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Signed-off-by: Myoungwon Oh <ohmyoungwon@gmail.com>
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Signed-off-by: Myoungwon Oh <ohmyoungwon@gmail.com>
@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
Member

jenkins retest this please

1 similar comment
@cyx1231st
Copy link
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
Copy link
Member Author

myoungwon commented Mar 12, 2025

@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
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
Member

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

@cyx1231st
Copy link
Member

jenkins retest this please

1 similar comment
@cyx1231st
Copy link
Member

jenkins retest this please

@cyx1231st
Copy link
Member

cyx1231st commented Mar 12, 2025

(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
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.

myoungwon and others added 5 commits March 13, 2025 02:11
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Signed-off-by: Myoungwon Oh <ohmyoungwon@gmail.com>
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
…tly in the same transaction

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
…nodes

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
@cyx1231st
Copy link
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
Member Author

The changes look good to me.

@myoungwon
Copy link
Member Author

jenkins test api

1 similar comment
@cyx1231st
Copy link
Member

jenkins test api

@cyx1231st
Copy link
Member

jenkins test make check

@cyx1231st
Copy link
Member

jenkins test api

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

jenkins test make check

2 similar comments
@myoungwon
Copy link
Member Author

jenkins test make check

@cyx1231st
Copy link
Member

jenkins test make check

@cyx1231st cyx1231st merged commit 352d1a4 into ceph:main Mar 17, 2025
11 checks passed
@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