Backport #17909
Updated by Abhishek Varshney over 7 years ago
https://github.com/ceph/ceph/pull/11991
build_push_op assumes 8MB of omap entries is about as much work to read as 8MB of object data. This is probably false. Add a config (osd_recovery_max_omap_entries_per_chunk ?) with a sane default (50k?) and change build_push_op to use it.