On Mon, 21 Feb 2011, Jeff Wu wrote: > I'm reading CRUSH and RADOS thesis,from these thesis , > i can get the algorithms: > > object_id = <object_number,inode_number>; > pg_id = (r,hash(object_id) & mask) ; // closely resembles consistent > hashing > > but i am wondering how to map a pg_id to OSDs by CRUSH . > Example , > if pg_id = 1.12,exist osd0,osd1,osd2,osd3, > then how to map pg_id = 1.12 to these osds ? the algorithms ? the > detail steps ? The CRUSH algorithm is described in detail by http://ceph.newdream.net/papers/weil-crush-sc06.pdf 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