Now, modifying object when creating snapshot triggers to remove
the corresponding chunk in chunk_map.
This results in tranforming a manifest object to a normal object
if there are no chunks in chunk_map.
To avoid this, another set_chunk() is added.
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
// set-chunk (dedup)
manifest_set_chunk(cluster, ioctx, cache_ioctx, 2, 2, "bar", "foo");
+ manifest_set_chunk(cluster, ioctx, cache_ioctx, 6, 2, "bar", "foo");
// create a snapshot, clone
vector<uint64_t> my_snaps(1);