]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: limit omap data in push op 12417/head
authorWanlong Gao <wanlong.gao@easystack.cn>
Thu, 23 Jun 2016 12:04:25 +0000 (20:04 +0800)
committerNathan Cutler <ncutler@suse.com>
Fri, 9 Dec 2016 13:44:39 +0000 (14:44 +0100)
commitfe77c9a906fb0fbd85762c8c079d85ca106613ce
tree7c8d8a3f2e2e3aa7623de49ac6546f8ef693a8f2
parent12d67814912514bb34ba61ceb45a744299d65ff2
osd: limit omap data in push op

We already have the config osd_recovery_max_chunk to limit the total
size of omap entries and omap data. But we need an individual config
to limit the number of omap entries independently. We call this config
osd_recovery_max_omap_entries_per_chunk here with the default number
of 64000.

Signed-off-by: Wanlong Gao <wanlong.gao@easystack.cn>
(cherry picked from commit 56064c5cb645254574dbad00e6c16b783115bb93)
src/common/config_opts.h
src/osd/ReplicatedBackend.cc