]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: reduce rados_max_object_size from 100 GB -> 128 MB 15520/head
authorSage Weil <sage@redhat.com>
Tue, 6 Jun 2017 18:56:35 +0000 (14:56 -0400)
committerSage Weil <sage@redhat.com>
Wed, 7 Jun 2017 22:07:23 +0000 (18:07 -0400)
I'm not sure why we had this so huge!  128 MB is a pretty reasonable size.

Signed-off-by: Sage Weil <sage@redhat.com>
PendingReleaseNotes
src/common/config_opts.h

index ec4dda767f71a1f4e54aa62350e131a8284453e5..1f6e0760b47bf0a09dca5c7f7c0b82e05ecb3ed8 100644 (file)
   ``mon_osd_err_op_age_ratio`` that is a expressed as a multitple of
   ``mon_osd_warn_op_age`` (default: 128, for roughly 60 minutes) to
   control when an error is generated.
+
+* The default maximum size for a single RADOS object has been reduced from
+  100GB to 128MB.  The 100GB limit was completely impractical in practice
+  while the 128MB limit is a bit high but not unreasonable.  If you have an
+  application written directly to librados that is using objects larger than
+  128MB you may need to adjust ``osd_max_object_size``.
index f66dc5158d20923e86c0c5b67f73d8037d00e66e..6d8febf0dc5560cb3b8bc95ae2f101b8a7cc809a 100644 (file)
@@ -993,7 +993,7 @@ OPTION(osd_recovery_op_warn_multiple, OPT_U32, 16)
 OPTION(osd_mon_shutdown_timeout, OPT_DOUBLE, 5)
 OPTION(osd_shutdown_pgref_assert, OPT_BOOL, false) // crash if the OSD has stray PG refs on shutdown
 
-OPTION(osd_max_object_size, OPT_U64, 100*1024L*1024L*1024L) // OSD's maximum object size
+OPTION(osd_max_object_size, OPT_U64, 128*1024L*1024L) // OSD's maximum object size
 OPTION(osd_max_object_name_len, OPT_U32, 2048) // max rados object name len
 OPTION(osd_max_object_namespace_len, OPT_U32, 256) // max rados object namespace len
 OPTION(osd_max_attr_name_len, OPT_U32, 100)    // max rados attr name len; cannot go higher than 100 chars for file system backends