Skip to content

osd, librados: add unset-manifest op#21999

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

osd, librados: add unset-manifest op#21999
tchaikov merged 4 commits intoceph:masterfrom
myoungwon:wip-manifest-unset-op

Conversation

@myoungwon
Copy link
Member

@myoungwon myoungwon commented May 15, 2018

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

Signed-off-by: Myoungwon Oh omwmw@sk.com

Signed-off-by: Myoungwon Oh <omwmw@sk.com>
@myoungwon
Copy link
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
Copy link
Member

liewegas commented Jun 1, 2018

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

cache_ioctx.exec("bar", "refcount", "chunk_read", in, out);
cls_chunk_refcount_read_ret read_ret;
try {
bufferlist::iterator iter = out.begin();
Copy link
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
Contributor

Choose a reason for hiding this comment

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

@tchaikov
Copy link
Contributor

tchaikov commented Jun 2, 2018

retest this please.

myoungwon added 3 commits June 4, 2018 09:51
Signed-off-by: Myoungwon Oh <omwmw@sk.com>
Signed-off-by: Myoungwon Oh <omwmw@sk.com>
Signed-off-by: Myoungwon Oh <omwmw@sk.com>
@myoungwon myoungwon force-pushed the wip-manifest-unset-op branch from 6fb5afd to 3133392 Compare June 4, 2018 01:01
@myoungwon
Copy link
Member Author

@tchaikov Fixed. Can you take a look?

@tchaikov
Copy link
Contributor

tchaikov commented Jun 5, 2018

@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