linux/net/ceph
Alex Elder 6740a845b2 libceph: make ceph_con_revoke() a msg operation
ceph_con_revoke() is passed both a message and a ceph connection.
Now that any message associated with a connection holds a pointer
to that connection, there's no need to provide the connection when
revoking a message.

This has the added benefit of precluding the possibility of the
providing the wrong connection pointer.  If the message's connection
pointer is null, it is not being tracked by any connection, so
revoking it is a no-op.  This is supported as a convenience for
upper layers, so they can revoke a message that is not actually
"in flight."

Rename the function ceph_msg_revoke() to reflect that it is really
an operation on a message, not a connection.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
2012-06-06 09:23:54 -05:00
..
crush
armor.c
auth.c
auth_none.c ceph: messenger: reduce args to create_authorizer 2012-05-17 08:18:12 -05:00
auth_none.h
auth_x.c ceph: messenger: reduce args to create_authorizer 2012-05-17 08:18:12 -05:00
auth_x.h
auth_x_protocol.h
buffer.c
ceph_common.c libceph: embed ceph messenger structure in ceph_client 2012-06-01 08:37:56 -05:00
ceph_fs.c
ceph_hash.c
ceph_strings.c
crypto.c
crypto.h
debugfs.c
Kconfig
Makefile
messenger.c libceph: make ceph_con_revoke() a msg operation 2012-06-06 09:23:54 -05:00
mon_client.c libceph: make ceph_con_revoke() a msg operation 2012-06-06 09:23:54 -05:00
msgpool.c
osd_client.c libceph: make ceph_con_revoke() a msg operation 2012-06-06 09:23:54 -05:00
osdmap.c libceph: fix pg_temp updates 2012-05-21 20:40:42 -07:00
pagelist.c
pagevec.c