]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: add 'osd debug reject backfill probability' option
authorSage Weil <sage@inktank.com>
Thu, 3 Apr 2014 19:06:08 +0000 (12:06 -0700)
committerSage Weil <sage@inktank.com>
Thu, 3 Apr 2014 19:06:08 +0000 (12:06 -0700)
commit31df91e091c01255cfea4c45d949d784198acdaa
treea6a7dd03c26225cb34d4caf2cd4f96f5b3ca2b9a
parent90c4540b5be7e3d5d981380e8f8530b2a968ddeb
osd: add 'osd debug reject backfill probability' option

This will make the OSD randomly reject backfill reservation requests.  This
exercises the failure code paths but does not break overall behavior
because the primary will back off and retry later.

This should help us reproduce #7922.

Signed-off-by: Sage Weil <sage@inktank.com>
src/common/config_opts.h
src/osd/PG.cc