aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2018-09-26 12:03:16 -0400
committerIlya Dryomov <idryomov@gmail.com>2018-10-22 04:28:20 -0400
commit94e6992bb560be8bffb47f287194adf070b57695 (patch)
tree5ab819eb888a10158f7b0904a38166d86ff787fe
parentbddff633ab7bc60a18a86ac8b322695b6f8594d0 (diff)
libceph: bump CEPH_MSG_MAX_DATA_LEN
If the read is large enough, we end up spinning in the messenger: libceph: osd0 192.168.122.1:6801 io error libceph: osd0 192.168.122.1:6801 io error libceph: osd0 192.168.122.1:6801 io error This is a receive side limit, so only reads were affected. Cc: stable@vger.kernel.org Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
-rw-r--r--include/linux/ceph/libceph.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/linux/ceph/libceph.h b/include/linux/ceph/libceph.h
index 49c93b9308d7..68bb09c29ce8 100644
--- a/include/linux/ceph/libceph.h
+++ b/include/linux/ceph/libceph.h
@@ -81,7 +81,13 @@ struct ceph_options {
81 81
82#define CEPH_MSG_MAX_FRONT_LEN (16*1024*1024) 82#define CEPH_MSG_MAX_FRONT_LEN (16*1024*1024)
83#define CEPH_MSG_MAX_MIDDLE_LEN (16*1024*1024) 83#define CEPH_MSG_MAX_MIDDLE_LEN (16*1024*1024)
84#define CEPH_MSG_MAX_DATA_LEN (16*1024*1024) 84
85/*
86 * Handle the largest possible rbd object in one message.
87 * There is no limit on the size of cephfs objects, but it has to obey
88 * rsize and wsize mount options anyway.
89 */
90#define CEPH_MSG_MAX_DATA_LEN (32*1024*1024)
85 91
86#define CEPH_AUTH_NAME_DEFAULT "guest" 92#define CEPH_AUTH_NAME_DEFAULT "guest"
87 93