OSDN Git Service

libceph: add ceph_monc_wait_osdmap()
authorIlya Dryomov <ilya.dryomov@inktank.com>
Tue, 13 May 2014 07:19:27 +0000 (11:19 +0400)
committerYan, Zheng <zheng.z.yan@intel.com>
Fri, 6 Jun 2014 01:29:57 +0000 (09:29 +0800)
commit6044cde6f2a94d88142d4401624152a741866338
tree9c58a1e13db9dd410b680291eeda15b226bac9e1
parent513a8243d67f8e8d27f2883bd2f18bc87c7ca376
libceph: add ceph_monc_wait_osdmap()

Add ceph_monc_wait_osdmap(), which will block until the osdmap with the
specified epoch is received or timeout occurs.

Export both of these as they are going to be needed by rbd.

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
include/linux/ceph/mon_client.h
net/ceph/mon_client.c