Skip to content

crimson/os/seastore: add OP_CLONERANGE2 support - #57735

Closed
xxhdx1985126 wants to merge 15 commits into
ceph:mainfrom
xxhdx1985126:wip-seastore-clone-range-2
Closed

xxhdx1985126 wants to merge 15 commits into
ceph:mainfrom
xxhdx1985126:wip-seastore-clone-range-2

Conversation

@xxhdx1985126

@xxhdx1985126 xxhdx1985126 commented May 28, 2024 •

Copy link
Copy Markdown
Member

Fixes: https://tracker.ceph.com/issues/67446
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

Copy link
Copy Markdown
Member Author

This pr is based on #57709

@xxhdx1985126
xxhdx1985126 force-pushed the wip-seastore-clone-range-2 branch from bebeaf5 to 2dac559 Compare May 28, 2024 04:53
@xxhdx1985126
xxhdx1985126 marked this pull request as ready for review May 29, 2024 06:23
@xxhdx1985126
xxhdx1985126 requested a review from a team as a code owner May 29, 2024 06:23
@xxhdx1985126
xxhdx1985126 force-pushed the wip-seastore-clone-range-2 branch from 2dac559 to 1a0201b Compare May 29, 2024 06:26
@xxhdx1985126
xxhdx1985126 force-pushed the wip-seastore-clone-range-2 branch from 1a0201b to 12028ca Compare June 6, 2024 02:54
@xxhdx1985126

Copy link
Copy Markdown
Member Author

This pr is based on #57709, #57818, #57891

@xxhdx1985126 xxhdx1985126 removed the DNM label Jun 6, 2024
@xxhdx1985126
xxhdx1985126 force-pushed the wip-seastore-clone-range-2 branch 5 times, most recently from 97a8594 to 1e077e7 Compare June 11, 2024 10:00
@github-actions

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

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

Appreciate if the pure cleanup/refactor commits can have a short description about the intention(s) -- why the commit is necessary (e.g. prepare for CLONERANGE2 to be able to xxx, or just make things simpler/cleaner for further modifications, etc.)

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.

What's the difference (or intention) between ret.prev(c) -> it.next(c) and the raw is_end() ret?

Probably worth an inline comment.

Comment thread src/crimson/os/seastore/cache.cc Outdated

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.

IIUC remapping is only allowed for OBJECT_DATA_BLOCK and TEST_BLOCK, right?

@xxhdx1985126

xxhdx1985126 commented Jun 21, 2024 •

Copy link
Copy Markdown
Member Author

Appreciate if the pure cleanup/refactor commits can have a short description about the intention(s) -- why the commit is necessary (e.g. prepare for CLONERANGE2 to be able to xxx, or just make things simpler/cleaner for further modifications, etc.)

Will do. Sorry for the inconvenience, we'll try to improve the readability of the code and add more comments/commit messages.

@cyx1231st

Copy link
Copy Markdown
Member

As discussed, this PR also depends on #55291

@github-actions

github-actions Bot commented Oct 7, 2024

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days.
If you are a maintainer or core committer, please follow-up on this pull request to identify what steps should be taken by the author to move this proposed change forward.
If you are the author of this pull request, thank you for your proposed contribution. If you believe this change is still appropriate, please ensure that any feedback has been addressed and ask for a code review.

@github-actions github-actions Bot added the stale label Oct 7, 2024
@github-actions

github-actions Bot commented Nov 6, 2024

Copy link
Copy Markdown

This pull request has been automatically closed because there has been no activity for 90 days. Please feel free to reopen this pull request (or open a new one) if the proposed change is still appropriate. Thank you for your contribution!

@github-actions github-actions Bot closed this Nov 6, 2024
@xxhdx1985126 xxhdx1985126 reopened this Nov 6, 2024
@xxhdx1985126
xxhdx1985126 force-pushed the wip-seastore-clone-range-2 branch 2 times, most recently from 2e3eee2 to c1e2aa3 Compare August 11, 2025 02:14
@github-actions

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

@Matan-B

Matan-B commented Aug 12, 2025

Copy link
Copy Markdown
Contributor

sorry for conflicting this PR due to merging #64812 I'll try to resolve

@xxhdx1985126
xxhdx1985126 force-pushed the wip-seastore-clone-range-2 branch from c1e2aa3 to fea09f5 Compare August 12, 2025 11:42
@xxhdx1985126

Copy link
Copy Markdown
Member Author

sorry for conflicting this PR due to merging #64812 I'll try to resolve

No problem, don't worry:-) Just rebased.

@xxhdx1985126
xxhdx1985126 force-pushed the wip-seastore-clone-range-2 branch from fea09f5 to 6d81338 Compare August 13, 2025 04:33
@github-actions

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

@Matan-B

Matan-B commented Oct 8, 2025

Copy link
Copy Markdown
Contributor

Closing as #65134 is merged.

@Matan-B Matan-B closed this Oct 8, 2025
@Matan-B Matan-B removed this from Crimson Oct 8, 2025
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