]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
PG: add custom_reaction Backfilled and release reservations after backfill 23493/head
authorNeha Ojha <nojha@redhat.com>
Mon, 21 May 2018 19:34:31 +0000 (12:34 -0700)
committerVictor Denisov <denisovenator@gmail.com>
Tue, 9 Oct 2018 02:40:53 +0000 (19:40 -0700)
commitf512f905b140bfa9cc3241793e441de2c377e60b
treea11e825060b99907d37d63762cd2053be3d6660a
parent9bc750579c8838447b89d743132612e100f6d84b
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)

Conflicts:
        src/osd/PG.cc
        src/osd/PG.h
src/osd/PG.cc
src/osd/PG.h