mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
ce0d5bd3a6
The num_fwd in MClientRequestForward is int32_t, while the num_fwd in ceph_mds_request_head is __u8. This is buggy when the num_fwd is larger than 256 it will always be truncate to 0 again. But the client couldn't recoginize this. This will make them to __u32 instead. Because the old cephs will directly copy the raw memories when decoding the reqeust's head, so we need to make sure this kclient will be compatible with old cephs. For newer cephs they will decode the requests depending the version, which will be much simpler and easier to extend new members. Link: https://tracker.ceph.com/issues/62145 Signed-off-by: Xiubo Li <xiubli@redhat.com> Reviewed-by: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com> Reviewed-by: Milind Changire <mchangir@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com> |
||
---|---|---|
.. | ||
auth.h | ||
buffer.h | ||
ceph_debug.h | ||
ceph_features.h | ||
ceph_frag.h | ||
ceph_fs.h | ||
ceph_hash.h | ||
cls_lock_client.h | ||
debugfs.h | ||
decode.h | ||
libceph.h | ||
mdsmap.h | ||
messenger.h | ||
mon_client.h | ||
msgpool.h | ||
msgr.h | ||
osd_client.h | ||
osdmap.h | ||
pagelist.h | ||
rados.h | ||
string_table.h | ||
striper.h | ||
types.h |