]> git.baikalelectronics.ru Git - kernel.git/commit
libceph: introduce decode{,_new}_pools() and switch to them
authorIlya Dryomov <ilya.dryomov@inktank.com>
Fri, 21 Mar 2014 17:05:27 +0000 (19:05 +0200)
committerSage Weil <sage@inktank.com>
Sat, 5 Apr 2014 04:07:50 +0000 (21:07 -0700)
commit71c980bf4f71ffecddf07dd4a363165751a1ecaa
treedf5ba6f6f6f2c02fc2b1530d2c8150950301cd94
parentfb6cc42a31d4aeff100906306e596f00534c0a1c
libceph: introduce decode{,_new}_pools() and switch to them

Consolidate pools (full map, map<u64, pg_pool_t>) and new_pools (inc
map, same) decoding logic into a common helper and switch to it.

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: Alex Elder <elder@linaro.org>
net/ceph/osdmap.c