libceph: support for CEPH_OSD_OP_LIST_WATCHERS
authorDouglas Fuller <dfuller@redhat.com>
Fri, 17 Jul 2015 20:18:07 +0000 (13:18 -0700)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 24 Aug 2016 21:49:15 +0000 (23:49 +0200)
commita4ed38d7a180f184a6e7aedd09db9ca4b1e6a71c
tree2794a755d3c96ad7b0b88390a4a25f18e0c6e138
parentf01d5cb24ea92494f9e093e6ee411364a686be99
libceph: support for CEPH_OSD_OP_LIST_WATCHERS

Add support for this Ceph OSD op, needed to support the RBD exclusive
lock feature.

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/osd_client.h
net/ceph/osd_client.c