summaryrefslogtreecommitdiff
path: root/include/linux/ceph
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2018-12-04 00:21:55 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2018-12-04 00:21:55 -0800
commit0b402f74a04ff7f09193c5c88cdf860498b93b5c (patch)
tree20511a1c18d0c77e926af4415b15f1a7152a5b5e /include/linux/ceph
parent8a475d4ba16373d30f8a57f8e2ee8f997dd00fbb (diff)
parent0a858409d5cd7283b8720d989bd2dba3f9353a6c (diff)
Merge "Merge android-4.4.165 (f34ff9e) into msm-4.4"
Diffstat (limited to 'include/linux/ceph')
-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 3e3799cdc6e6..9b9fe0588008 100644
--- a/include/linux/ceph/libceph.h
+++ b/include/linux/ceph/libceph.h
@@ -72,7 +72,13 @@ struct ceph_options {
#define CEPH_MSG_MAX_FRONT_LEN (16*1024*1024)
#define CEPH_MSG_MAX_MIDDLE_LEN (16*1024*1024)
-#define CEPH_MSG_MAX_DATA_LEN (16*1024*1024)
+
+/*
+ * Handle the largest possible rbd object in one message.
+ * There is no limit on the size of cephfs objects, but it has to obey
+ * rsize and wsize mount options anyway.
+ */
+#define CEPH_MSG_MAX_DATA_LEN (32*1024*1024)
#define CEPH_AUTH_NAME_DEFAULT "guest"