]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/PG: fix crash from second backfill reservation rejection 2344/head
authorSage Weil <sage@redhat.com>
Wed, 27 Aug 2014 13:19:12 +0000 (06:19 -0700)
committerSage Weil <sage@redhat.com>
Wed, 27 Aug 2014 13:19:12 +0000 (06:19 -0700)
commit2b13de16c522754e30a0a55fb9d072082dac455e
tree6d28b5ab3bf931aa6f5ebfa30b60a3a95702c19e
parent3bfbc141df8795efa229d6a666f0b36acef8fb08
osd/PG: fix crash from second backfill reservation rejection

If we get more than one reservation rejection we should ignore them; when
we got the first we already sent out cancellations.  More importantly, we
should not crash.

Fixes: #8863
Backport: firefly, dumpling
Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/PG.cc
src/osd/PG.h