]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: mark used range on partial blob writes
authorSage Weil <sage@redhat.com>
Thu, 19 May 2016 12:45:00 +0000 (08:45 -0400)
committerSage Weil <sage@redhat.com>
Wed, 1 Jun 2016 15:38:51 +0000 (11:38 -0400)
commit82ed3ecf9ce069c82bde39104b615fb588c1bd18
treeb7a58ab0fb35c59f7a3131c32fd968a47bf2ed7b
parentf63d207914d082056451453aa3cb017f117f7cf4
os/bluestore: mark used range on partial blob writes

- writing into unreferenced blob space
- wal blob writes

both need to update the blob used map.  The full blob writes generates
blobs that are always full, so no change is needed there.  New partial
blob creations need to indicate which parts aren't yet used.

Signed-off-by: Sage Weil <sage@redhat.com>
src/os/bluestore/BlueStore.cc