mirror_ubuntu-kernels/include/linux/ceph
Ilya Dryomov 205ee1187a libceph: follow redirect replies from osds
Follow redirect replies from osds, for details see ceph.git commit
fbbe3ad1220799b7bb00ea30fce581c5eadaf034.

v1 (current) version of redirect reply consists of oloc and oid, which
expands to pool, key, nspace, hash and oid.  However, server-side code
that would populate anything other than pool doesn't exist yet, and
hence this commit adds support for pool redirects only.  To make sure
that future server-side updates don't break us, we decode all fields
and, if any of key, nspace, hash or oid have a non-default value, error
out with "corrupt osd_op_reply ..." message.

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
2014-01-27 23:57:53 +02:00
..
auth.h libceph: wrap auth methods in a mutex 2013-05-01 21:17:15 -07:00
buffer.h libceph: add ceph_kv{malloc,free}() and switch to them 2014-01-26 12:34:23 +02:00
ceph_debug.h
ceph_features.h libceph: support CEPH_FEATURE_EXPORT_PEER 2014-01-21 16:30:31 +08:00
ceph_frag.h
ceph_fs.h libceph: move ceph_file_layout helpers to ceph_fs.h 2014-01-27 23:57:20 +02:00
ceph_hash.h
debugfs.h UAPI: (Scripted) Convert #include "..." to #include <path/...> in kernel system headers 2012-10-02 18:01:25 +01:00
decode.h libceph: fix invalid unsigned->signed conversion for timespec encoding 2013-07-09 12:18:06 -07:00
libceph.h libceph: add ceph_kv{malloc,free}() and switch to them 2014-01-26 12:34:23 +02:00
mdsmap.h ceph: update support for PGID64, PGPOOL3, OSDENC protocol features 2013-02-26 15:02:25 -08:00
messenger.h libceph: add ceph_kv{malloc,free}() and switch to them 2014-01-26 12:34:23 +02:00
mon_client.h Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client 2012-10-08 06:38:18 +09:00
msgpool.h UAPI: (Scripted) Convert #include "..." to #include <path/...> in kernel system headers 2012-10-02 18:01:25 +01:00
msgr.h libceph: implement RECONNECT_SEQ feature 2013-05-01 21:17:09 -07:00
osd_client.h libceph: follow redirect replies from osds 2014-01-27 23:57:53 +02:00
osdmap.h libceph: follow {read,write}_tier fields on osd request submission 2014-01-27 23:57:45 +02:00
pagelist.h
rados.h libceph: CEPH_OSD_FLAG_* enum update 2014-01-27 23:57:36 +02:00
types.h UAPI: (Scripted) Convert #include "..." to #include <path/...> in kernel system headers 2012-10-02 18:01:25 +01:00