]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ReplicatedPG::_rollback_to: handle block on full correctly
authorSamuel Just <sjust@redhat.com>
Tue, 13 Oct 2015 01:09:58 +0000 (18:09 -0700)
committerSamuel Just <sjust@redhat.com>
Tue, 13 Oct 2015 01:09:58 +0000 (18:09 -0700)
commitda4803ecd2598198847b5dfa86f654d75eea0844
tree7da535b9cfa096d5c6a36893b678c70e5ce26404
parentd36d7f24fb001c136ec5a0c8bf9e52411d6c0947
ReplicatedPG::_rollback_to: handle block on full correctly

If we fail to promote the clone due to a full cache tier, we need
to block writes on the head just as if we were waiting on the
promote.  Generally therefore, we block writes on head if we block
an op on a full cache tier.  Add a new blocked set to support this.

Fixes: 13434
Signed-off-by: Samuel Just <sjust@redhat.com>
src/osd/PG.h
src/osd/ReplicatedPG.cc
src/osd/ReplicatedPG.h