From: Yan, Zheng Date: Wed, 21 Dec 2016 08:35:50 +0000 (+0800) Subject: osd/PrimaryLogPG: enlarge omap request bytes limitation X-Git-Tag: v11.1.1~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=08066eb92dff7cfcb62770c3e13d93b2a123c5ac;p=ceph.git osd/PrimaryLogPG: enlarge omap request bytes limitation 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 --- diff --git a/src/common/config_opts.h b/src/common/config_opts.h index 41cc525958a7..169b05d87205 100644 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@ -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