summaryrefslogtreecommitdiffstats
path: root/fs/libfs.c
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2010-02-16 15:55:03 -0800
committerSage Weil <sage@newdream.net>2010-02-17 10:02:49 -0800
commit4fc51be8fa7043ff9a1e34fef0e99214373332ac (patch)
treebeba3bc83b5a07a16bb63c6e80713cb2b42bf4fb /fs/libfs.c
parent9794b146fa7b93f8ab74fb62d67fdefad760769f (diff)
downloadop-kernel-dev-4fc51be8fa7043ff9a1e34fef0e99214373332ac.zip
op-kernel-dev-4fc51be8fa7043ff9a1e34fef0e99214373332ac.tar.gz
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 <sage@newdream.net>
Diffstat (limited to 'fs/libfs.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud