]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ReplicatedPG: Account for clone space usage in make_writeable
authorSamuel Just <rexludorum@gmail.com>
Tue, 22 Nov 2011 17:30:35 +0000 (09:30 -0800)
committerSamuel Just <samuel.just@dreamhost.com>
Wed, 23 Nov 2011 22:07:08 +0000 (14:07 -0800)
commit97d82ed950b26cfaef4267ee44edd9ad927fb828
treec196eb1e135e08c2ebe83c584b7ac598f3fdd661
parent32a6837839acd7bf7135e356b45a8636140f8eb1
ReplicatedPG: Account for clone space usage in make_writeable

Previously, we accounted for clone space usage inconsistently in
write_update_size_and_usage etc when walking through the operations.
make_writeable may change the most recent clone overlap, however, so we
can't handle it until then.

Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
src/osd/ReplicatedPG.cc