]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: allow pg log trim during (non-classic) scrub
authorSage Weil <sage@inktank.com>
Sat, 23 Feb 2013 00:48:02 +0000 (16:48 -0800)
committerSage Weil <sage@inktank.com>
Tue, 26 Feb 2013 20:26:22 +0000 (12:26 -0800)
commit0ba8db6b664205348d5499937759916eac0997bf
tree6e5b6656e75a97095ef09a973a4a08dfe50ffbbf
parentdd123333b8e432e1b84b67b500437949d2e75dff
osd: allow pg log trim during (non-classic) scrub

Chunky (and deep) scrub do not care about PG log trimming.  Classic scrub
still does.

Deep scrub can take a long time, so not trimming the log during that period
may eat lots of RAM; avoid that!

Might fix: #4179
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Samuel Just <sam.just@inktank.com>
src/osd/PG.cc
src/osd/PG.h
src/osd/ReplicatedPG.cc