Neither operation should involve the monitor beyond retrieving the CRUSH map. The image directory is stored as an object within the pool (rbd_directory) and the image snapshot list is embedded in each image's header object. These values are stored as omap key/value pairs associated to the object, so they will be read via LevelDB or RocksDB (depending on your configuration) within the object's PG's OSD.
-- Jason Dillaman ----- Original Message ----- > From: "Allen Liao" <aliao.svsga...@gmail.com> > To: ceph-users@lists.ceph.com > Sent: Monday, October 12, 2015 2:52:03 PM > Subject: [ceph-users] How expensive are 'rbd ls' and 'rbd snap ls' calls? > How expensive are the calls to list the rbd images (rbd ls) and their > snapshots (rbd snap ls). Is the metatdata for what images and snapshots are > stored in ceph kept in memory on the MON (in which case the calls would be > cheap)? > _______________________________________________ > ceph-users mailing list > ceph-users@lists.ceph.com > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com _______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com