]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - fs/ceph/mds_client.c
ceph: include transaction id in ceph_msg_header (protocol change)
authorSage Weil <sage@newdream.net>
Tue, 22 Dec 2009 19:24:33 +0000 (11:24 -0800)
committerSage Weil <sage@newdream.net>
Wed, 23 Dec 2009 16:17:22 +0000 (08:17 -0800)
commit6df058c025ce343052c5516b1d8a9a7e73cddd64
tree58230bd258f71c2c3adf56a55d11ed39f404d12a
parent0cf90ab5b075821940873e73cdbfeb8edc3dabe8
ceph: include transaction id in ceph_msg_header (protocol change)

Many (most?) message types include a transaction id.  By including it in
the fixed size header, we always have it available even when we are unable
to allocate memory for the (larger, variable sized) message body.  This
will allow us to error out the appropriate request instead of (silently)
dropping the reply.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/caps.c
fs/ceph/ceph_fs.h
fs/ceph/mds_client.c
fs/ceph/mon_client.c
fs/ceph/msgr.h
fs/ceph/osd_client.c
fs/ceph/rados.h