]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ceph: limit osd read size to CEPH_MSG_MAX_DATA_LEN
authorYan, Zheng <zyan@redhat.com>
Tue, 11 Jul 2017 07:56:09 +0000 (15:56 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 6 Sep 2017 17:56:03 +0000 (19:56 +0200)
commitaa187926b739fb391f153335c7552c7a10d60e82
tree0954de9620a7afe747bdbf3fcca503f11afd630c
parent2ae409dc6a907e80f4cd32ad4482ef52441e3147
ceph: limit osd read size to CEPH_MSG_MAX_DATA_LEN

libceph returns -EIO when read size > CEPH_MSG_MAX_DATA_LEN.

Link: http://tracker.ceph.com/issues/20528
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/addr.c
fs/ceph/file.c
fs/ceph/super.c
fs/ceph/super.h