libceph: support for checking on status of watch
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:28 +0000 (01:15 +0200)
commitb07d3c4bd7270c74e2b6803af8ac8a00cb3e5ed2
treefcaa24cff4389ab2f0e7b2d2ca327fb76bdef6a7
parent1907920324f1f3ebb6618344417c03a2863bba01
libceph: support for checking on status of watch

Implement ceph_osdc_watch_check() to be able to check on status of
watch.  Note that the time it takes for a watch/notify event to get
delivered through the notify_wq is taken into account.

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