libceph: support for lock.lock_info
authorDouglas Fuller <dfuller@redhat.com>
Mon, 29 Jun 2015 23:55:42 +0000 (16:55 -0700)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 24 Aug 2016 21:49:15 +0000 (23:49 +0200)
commitd4ed4a530562881cc5225050e42d96034f405aae
tree0c7f7326e1d3d14cf58f20ca02f56db3d8fafef2
parentf66241cb99dac861aa2cedb9f05ffa98d70cbc6e
libceph: support for lock.lock_info

Add an interface for the Ceph OSD lock.lock_info method and associated
data structures.

Based heavily on code by Mike Christie <michaelc@cs.wisc.edu>.

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