]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: introduce a new api of snap_remove2
authorDongsheng Yang <dongsheng.yang@easystack.cn>
Thu, 30 Jun 2016 07:59:25 +0000 (03:59 -0400)
committerDongsheng Yang <dongsheng.yang@easystack.cn>
Tue, 26 Jul 2016 06:23:30 +0000 (02:23 -0400)
commita3a547fc03e0c86d623bb85eef742f457aa06b8f
treef9fd276670e7c22cd576a5cc0d16edf65252ac70
parent40b7016ebc99d3685e5433a4f65c891610177393
librbd: introduce a new api of snap_remove2

currently, we only have one api for snap_remove, but if we want to
pass more options about snapshot removal, that's impossible.

This patch introduce a new api of snap_remove2 here to solve
this problem.

Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
src/include/rbd/librbd.h
src/include/rbd/librbd.hpp
src/librbd/internal.cc
src/librbd/internal.h
src/librbd/librbd.cc
src/tracing/librbd.tp