Re: How expensive are 'rbd ls' and 'rbd snap ls' calls?

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

 



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.svsgames@xxxxxxxxx>
> To: ceph-users@xxxxxxxxxxxxxx
> Sent: Monday, October 12, 2015 2:52:03 PM
> Subject:  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@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux