]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: prevent pgs from getting too far ahead of the min pg epoch
authorSage Weil <sage@inktank.com>
Fri, 2 May 2014 00:24:48 +0000 (17:24 -0700)
committerSage Weil <sage@redhat.com>
Thu, 14 Aug 2014 00:21:18 +0000 (17:21 -0700)
commit289360c5dc57a4788289472f90d63781143539be
tree6d57c9f25d06f6e79a83f823ed85dcd252716418
parent662af7ac83b67af8c9edc554bbd505de717f9709
osd: prevent pgs from getting too far ahead of the min pg epoch

Bound the range of PG epochs between the slowest and fastest pg
(epoch-wise) with 'osd map max advance'.  This value should be set to
something less than 'osd map cache size' so that the maps we are
processing will be in memory as many PGs advance forward in time in
loose synchrony.

This is part of the solution to #7576.

Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit cf25bdf6b0090379903981fe8cee5ea75efd7ba0)
src/common/config_opts.h
src/osd/OSD.cc
src/osd/OSD.h