diff options
Diffstat (limited to 'src/include/rados')
-rw-r--r-- | src/include/rados/librados.hpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/include/rados/librados.hpp b/src/include/rados/librados.hpp index cb8261af1..2cd418627 100644 --- a/src/include/rados/librados.hpp +++ b/src/include/rados/librados.hpp @@ -1477,8 +1477,11 @@ inline namespace v14_2_0 { int get_pool_stats(std::list<std::string>& v, std::string& category, std::map<std::string, stats_map>& stats); - /// check if pool has selfmanaged snaps - bool get_pool_is_selfmanaged_snaps_mode(const std::string& poolname); + + /// check if pool has or had selfmanaged snaps + bool get_pool_is_selfmanaged_snaps_mode(const std::string& poolname) + __attribute__ ((deprecated)); + int pool_is_in_selfmanaged_snaps_mode(const std::string& poolname); int cluster_stat(cluster_stat_t& result); int cluster_fsid(std::string *fsid); |