]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/PrimaryLogPG: enlarge omap request bytes limitation
authorYan, Zheng <zyan@redhat.com>
Wed, 21 Dec 2016 08:35:50 +0000 (16:35 +0800)
committerYan, Zheng <zyan@redhat.com>
Wed, 21 Dec 2016 08:44:31 +0000 (16:44 +0800)
For cephfs, 4M buffer can only encode about 5k dentries. It's too
small for directory.

Fixes: http://tracker.ceph.com/issues/18314
Signed-off-by: Yan, Zheng <zyan@redhat.com>
src/common/config_opts.h

index 41cc525958a7f72d7881876d6cf0c886b410f97b..169b05d872056560096d3de16117420f71f6316b 100644 (file)
@@ -936,7 +936,7 @@ OPTION(osd_max_attr_name_len, OPT_U32, 100)    // max rados attr name len; canno
 OPTION(osd_max_attr_size, OPT_U64, 0)
 
 OPTION(osd_max_omap_entries_per_request, OPT_U64, 131072)
-OPTION(osd_max_omap_bytes_per_request, OPT_U64, 4<<20)
+OPTION(osd_max_omap_bytes_per_request, OPT_U64, 1<<30)
 
 OPTION(osd_objectstore, OPT_STR, "filestore")  // ObjectStore backend type
 OPTION(osd_objectstore_tracing, OPT_BOOL, false) // true if LTTng-UST tracepoints should be enabled