libceph: support for blacklisting clients
authorDouglas Fuller <dfuller@redhat.com>
Thu, 23 Jul 2015 00:59:52 +0000 (20:59 -0400)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 24 Aug 2016 21:49:15 +0000 (23:49 +0200)
commit6305a3b415157759bfe4b50a643fac22ea229f5c
tree416bf087b76a57a23c179b821fb6dfd20d6f23ae
parentd4ed4a530562881cc5225050e42d96034f405aae
libceph: support for blacklisting clients

Reuse ceph_mon_generic_request infrastructure for sending monitor
commands.  In particular, add support for 'blacklist add' to prevent
other, non-responsive clients from making further updates.

Signed-off-by: Douglas Fuller <dfuller@redhat.com>
[idryomov@gmail.com: refactor, misc fixes throughout]
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Mike Christie <mchristi@redhat.com>
Reviewed-by: Alex Elder <elder@linaro.org>
include/linux/ceph/ceph_fs.h
include/linux/ceph/mon_client.h
net/ceph/mon_client.c