Re: C++ api for librados 0.25

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 24 Feb 2011, Colin McCabe wrote:
> Updated API at http://ceph.newdream.net/git/?p=ceph.git;a=blob;f=src/include/rados/librados.hpp;h=29dec7a3143b4233fd7eb365c1e26fd3409ba6bb;hb=librados_api_cpp

 152     int selfmanaged_snap_remove(rados_pool_t pool, uint64_t snapid);

shouldn't need the rados_pool_t argument (this is a PoolHandle).

 154     int selfmanaged_snap_rollback_object(const std::string& oid, 
SnapContext& snapc,
 155                                          uint64_t snapid);

No idea what that is... probably supposed to match the C call

 123 int rados_pool_snap_rollback_object(rados_pool_t pool, const char *oid,
 124                           const char *snapname);

which should probably be called rados_rollback(), since all of the other 
object calls are just rados_foo.  Or the object calls should be 
rados_object_foo...

sage
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux