]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librados: implement ObjectIterator copying and assignment 1294/head
authorJosh Durgin <josh.durgin@inktank.com>
Fri, 21 Feb 2014 01:28:11 +0000 (17:28 -0800)
committerJosh Durgin <josh.durgin@inktank.com>
Sat, 22 Feb 2014 02:22:54 +0000 (18:22 -0800)
commit0da25e6746a5542206b948771a110fa5c085aaeb
treec67b48bf7de44213bf100e50363b4dc1767b1432
parent8a0017ac2b982be3b83940b44c82e705898fa1d6
librados: implement ObjectIterator copying and assignment

Copied iterators should be independent of each other, and not
rely on the same underlying ListContext or ObjListCtx.

Add some tests for this to make sure they work in various
circumstances.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
src/include/rados/librados.hpp
src/librados/librados.cc
src/test/librados/list.cc