Skip to content

crimson/os/seastore: extract fixed kv btree implementation out of lba manager - #44912

Merged
athanatos merged 3 commits into
ceph:masterfrom
xxhdx1985126:wip-fixed-kv-btree
Mar 15, 2022
Merged

athanatos merged 3 commits into
ceph:masterfrom
xxhdx1985126:wip-fixed-kv-btree

Conversation

@xxhdx1985126

@xxhdx1985126 xxhdx1985126 commented Feb 6, 2022 •

Copy link
Copy Markdown
Member

This is the preparation for paddr->laddr backref

Basically, this pr moves the current LBABtree and lba_range_pin out of lba manager, and rename LBABtree to FixedKVBtree.

Signed-off-by: Xuehan Xu [email protected]

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

@xxhdx1985126

Copy link
Copy Markdown
Member Author

../src/crimson/os/seastore/fixed_kv_btree.h:535:16: error: lambda capture 'this' is not used [-Werror,-Wunused-lambda-capture]
).si_then([this, c, laddr, val](auto iter) {

This seems to be a compiler error, this pointer is used in the lambda.

@xxhdx1985126
xxhdx1985126 force-pushed the wip-fixed-kv-btree branch 2 times, most recently from cd11b66 to 99fbf22 Compare February 7, 2022 02:46
@xxhdx1985126
xxhdx1985126 marked this pull request as ready for review February 7, 2022 02:56
@xxhdx1985126
xxhdx1985126 requested a review from a team as a code owner February 7, 2022 02:56
@xxhdx1985126
xxhdx1985126 force-pushed the wip-fixed-kv-btree branch 3 times, most recently from afe6a8c to 7c5002b Compare February 7, 2022 09:10
@xxhdx1985126 xxhdx1985126 changed the title crimson/os/seastore: extract fixed kv btree implementation out of lba manager [WIP, DNM]crimson/os/seastore: extract fixed kv btree implementation out of lba manager Feb 7, 2022
@xxhdx1985126

xxhdx1985126 commented Feb 7, 2022 •

Copy link
Copy Markdown
Member Author

not ready for now, trying to generalize lba nodes.

@xxhdx1985126
xxhdx1985126 marked this pull request as draft February 8, 2022 01:28
@github-actions

github-actions Bot commented Feb 8, 2022

Copy link
Copy Markdown

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

@xxhdx1985126
xxhdx1985126 force-pushed the wip-fixed-kv-btree branch 3 times, most recently from 85bb432 to 9ede0b1 Compare February 8, 2022 11:34
@xxhdx1985126 xxhdx1985126 changed the title [WIP, DNM]crimson/os/seastore: extract fixed kv btree implementation out of lba manager crimson/os/seastore: extract fixed kv btree implementation out of lba manager Feb 8, 2022
@xxhdx1985126 xxhdx1985126 removed the DNM label Feb 8, 2022
@xxhdx1985126
xxhdx1985126 marked this pull request as ready for review February 8, 2022 11:34
@xxhdx1985126

Copy link
Copy Markdown
Member Author

I think this pr is ready now.

@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

@xxhdx1985126
xxhdx1985126 force-pushed the wip-fixed-kv-btree branch 3 times, most recently from a7495ca to b2c3c2e Compare February 23, 2022 05:16
@xxhdx1985126
xxhdx1985126 force-pushed the wip-fixed-kv-btree branch 4 times, most recently from f3fa822 to c4f7bf1 Compare March 5, 2022 09:31
@tchaikov

tchaikov commented Mar 5, 2022

Copy link
Copy Markdown
Contributor

jenkins test make check

@tchaikov

tchaikov commented Mar 5, 2022

Copy link
Copy Markdown
Contributor

jenkins test api

1 similar comment
@xxhdx1985126

Copy link
Copy Markdown
Member Author

jenkins test api

@xxhdx1985126

Copy link
Copy Markdown
Member Author

jenkins test docs

@xxhdx1985126

Copy link
Copy Markdown
Member Author

jenkins test make check

@xxhdx1985126

Copy link
Copy Markdown
Member Author

jenkins test api

1 similar comment
@xxhdx1985126

Copy link
Copy Markdown
Member Author

jenkins test api

… manager

Basically, this pr moves the current LBABtree and lba_range_pin out of lba manager,
and rename LBABtree to FixedKVBtree. This is the preparation for implementing backrefs

Signed-off-by: Xuehan Xu <[email protected]>
Change lba nodes to general fixed-size-kv btree nodes

Signed-off-by: Xuehan Xu <[email protected]>
@athanatos

Copy link
Copy Markdown
Contributor

jenkins test api

1 similar comment
@xxhdx1985126

Copy link
Copy Markdown
Member Author

jenkins test api

@athanatos

Copy link
Copy Markdown
Contributor

jenkins test api

@athanatos
athanatos merged commit 95e7ce9 into ceph:master Mar 15, 2022
@xxhdx1985126
xxhdx1985126 deleted the wip-fixed-kv-btree branch April 23, 2024 02:50
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.

4 participants