Skip to content

osd, librados: add unset-manifest op - #21999

Merged
tchaikov merged 4 commits into
ceph:masterfrom
myoungwon:wip-manifest-unset-op
Jun 5, 2018
Merged

tchaikov merged 4 commits into
ceph:masterfrom
myoungwon:wip-manifest-unset-op

Conversation

@myoungwon

@myoungwon myoungwon commented May 15, 2018 •

Copy link
Copy Markdown
Member

This PR introduces a new rados op (unset-manifest).
Please refer to #19935.

Signed-off-by: Myoungwon Oh [email protected]

@myoungwon

Copy link
Copy Markdown
Member Author

@liewegas We need to discuss the remaining works and plan for dedup tier.
In my opinion, there are three main works.

  1. chunk and hash implementation
  • abstraction class and implementation for hash such as SHA256 ....
  1. making a deduped object during writeback operations
  • making fingerprints and inc/dec references
  1. handling "leaking" reference

So, I would like to start remaining works in the above order.
What do you think?

@myoungwon
myoungwon requested a review from liewegas June 1, 2018 11:37
@myoungwon myoungwon changed the title WIP: osd, librados: add unset-manifest op osd, librados: add unset-manifest op Jun 1, 2018
@liewegas

liewegas commented Jun 1, 2018

Copy link
Copy Markdown
Member

This plan sounds right! Let's sketch out the abstraction/interfaces for the hashing and chunking..

Comment thread src/test/librados/tier.cc Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

because of the recent bufferlist::const_iterator change, please use out.cbegin()

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@tchaikov

tchaikov commented Jun 2, 2018

Copy link
Copy Markdown
Contributor

retest this please.

@myoungwon
myoungwon force-pushed the wip-manifest-unset-op branch from 6fb5afd to 3133392 Compare June 4, 2018 01:01
@myoungwon

Copy link
Copy Markdown
Member Author

@tchaikov Fixed. Can you take a look?

@tchaikov
tchaikov merged commit 9fbbeb0 into ceph:master Jun 5, 2018
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