From: Sage Weil Date: Tue, 16 Feb 2010 23:55:03 +0000 (-0800) Subject: ceph: use rbtree for pg pools; decode new osdmap format X-Git-Tag: v2.6.34-rc2~9^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4fc51be8fa7043ff9a1e34fef0e99214373332ac;p=pandora-kernel.git ceph: use rbtree for pg pools; decode new osdmap format Since we can now create and destroy pg pools, the pool ids will be sparse, and an array no longer makes sense for looking up by pool id. Use an rbtree instead. The OSDMap encoding also no longer has a max pool count (previously used to allocate the array). There is a new pool_max, that is the largest pool id we've ever used, although we don't actually need it in the client. Signed-off-by: Sage Weil --- Reading git-diff-tree failed