]> git.baikalelectronics.ru Git - kernel.git/commit
libceph: add lingering request and watch/notify event framework
authorYehuda Sadeh <yehuda@hq.newdream.net>
Mon, 21 Mar 2011 22:07:16 +0000 (15:07 -0700)
committerSage Weil <sage@newdream.net>
Tue, 22 Mar 2011 18:33:55 +0000 (11:33 -0700)
commit3d2ffc6ac7050323501f548b7615e83f864a94e2
tree1aa1f6ca618cd021d944f7da7caeb5b182beaee4
parent4e0d31567cb42952830673badac7ac94b57be217
libceph: add lingering request and watch/notify event framework

Lingering requests are requests that are sent to the OSD normally but
tracked also after we get a successful request.  This keeps the OSD
connection open and resends the original request if the object moves to
another OSD.  The OSD can then send notification messages back to us
if another client initiates a notify.

This framework will be used by RBD so that the client gets notification
when a snapshot is created by another node or tool.

Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
Signed-off-by: Sage Weil <sage@newdream.net>
include/linux/ceph/osd_client.h
net/ceph/ceph_common.c
net/ceph/osd_client.c