libceph: async MON client generic requests
authorIlya Dryomov <idryomov@gmail.com>
Thu, 28 Apr 2016 14:07:27 +0000 (16:07 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 25 May 2016 23:15:29 +0000 (01:15 +0200)
commitd0b19705e99939f5ae5aa9b57bfe41dd4777d951
tree22c6202c5fc1bf28ac95fdf2157329aa171270e5
parentb07d3c4bd7270c74e2b6803af8ac8a00cb3e5ed2
libceph: async MON client generic requests

For map check, we are going to need to send CEPH_MSG_MON_GET_VERSION
messages asynchronously and get a callback on completion.  Refactor MON
client to allow firing off generic requests asynchronously and add an
async variant of ceph_monc_get_version().  ceph_monc_do_statfs() is
switched over and remains sync.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
drivers/block/rbd.c
include/linux/ceph/mon_client.h
net/ceph/mon_client.c