Jason, Can you point me to a specific line of code where you reuse Rados? I see that IoCtx only has reference to RadosClient not to Rados itself. On Tue, May 3, 2016 at 5:05 AM, Jason Dillaman <jdillama@xxxxxxxxxx> wrote: > On Mon, May 2, 2016 at 8:26 PM, Victor Denisov <vdenisov@xxxxxxxxxxxx> wrote: >> As such, I can't open another ioctx when I'm already inside rbd >> class. > > You actually can open a new IoCtx against a new pool -- we do this > internally for journaling handling, scanning pools for children during > the snapshot unprotect operation, opening a parent image of a clone, > etc. You can extract the "librados::Rados" object from the > "librados::IoCtx" and then use "librados::Rados::ioctx_create2" to > create a new IoCtx by pool id. > > Also agree with Mykola in that the API should return resolved image names. > > -- > Jason -- 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