]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
PG: add custom_reaction Backfilled and release reservations after backfill 22559/head
authorNeha Ojha <nojha@redhat.com>
Mon, 21 May 2018 19:34:31 +0000 (12:34 -0700)
committerPrashant D <pdhange@redhat.com>
Thu, 14 Jun 2018 01:54:13 +0000 (21:54 -0400)
commit71b82b5886af31ac5ca2ec20b201f6e0465e53a6
treeb405b7f306cb2422f104826e6ba4f96cd15369a0
parentc16df3100e9fb7c9b15c308e2821b181df3ab617
PG: add custom_reaction Backfilled and release reservations after backfill

After backfill completes, we directly go to the Recovered state without
releasing reservations. The outstanding reservations cause double reservation
issues.

Creating a custom_reaction Backfilled, allows us to release reservations,
before transiting to the Recovered state.

Signed-off-by: Neha Ojha <nojha@redhat.com>
(cherry picked from commit 1abc2320283e9247bec7b0821a6134f31b9b5e29)
src/osd/PG.cc
src/osd/PG.h