]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4b1ecd88639c9c31d59ce4f64c863b9458094721
tree22c6202c5fc1bf28ac95fdf2157329aa171270e5
parent40c35658673abd843791f3d56a4a04e2e1113d6f
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