osd_client: send watch ping messages
authorDouglas Fuller <dfuller@redhat.com>
Wed, 17 Jun 2015 14:25:56 +0000 (07:25 -0700)
committerDavid Disseldorp <ddiss@suse.de>
Sat, 22 Aug 2015 13:33:26 +0000 (15:33 +0200)
commitdf85aac73ddb8f17a9a8b638a028a7948e4dccf3
tree9c3f2dc31d4733c15b546aa48b4e32fe808c8997
parent5e1d1e0ae5b68fbd0ea18a28e04409b6d8b32e40
osd_client: send watch ping messages

Send CEPH_OSD_WATCH_OP_PING every osd_keepalive_timeout for each watch
event registered. When errors are detected, look up the watch event and
send it CEPH_WATCH_EVENT_DISCONNECTED.

Signed-off-by: Douglas Fuller <dfuller@redhat.com>
Reviewed-by: David Disseldorp <ddiss@suse.de>
include/linux/ceph/osd_client.h
net/ceph/osd_client.c