osd_client, rbd: update event interface for watch/notify2
authorDouglas Fuller <dfuller@redhat.com>
Wed, 17 Jun 2015 14:25:54 +0000 (07:25 -0700)
committerDavid Disseldorp <ddiss@suse.de>
Sat, 22 Aug 2015 13:33:24 +0000 (15:33 +0200)
commitb5d4283d47c840c26b739efd9d6a742581b108b4
tree09a04c7c2ae5fa0f86d74a8a64b19cbbe1e39658
parent9bf6db6cf1498c04a870e8df72629d64bbcc9d4c
osd_client, rbd: update event interface for watch/notify2

Change unused ceph_osd_event structure to refer to pending watch/notify2
messages. Watch events include the separate watch and watch error callbacks
used for watch/notify2. Update rbd to use separate watch and watch error
callbacks via the new watch event.

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