]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/filestore: track objects with writes being applied
authorSage Weil <sage@redhat.com>
Sat, 27 Jan 2018 16:22:12 +0000 (10:22 -0600)
committerSage Weil <sage@redhat.com>
Mon, 12 Feb 2018 19:56:43 +0000 (13:56 -0600)
commit28d63a4d8e5ae1cc8c2dd5117cc6bc7aa6e0179f
tree7896b1ed407b458140fb81fec80fc57c86ff27c9
parent13738cd7522a6eea8038660ba7120ca89f34eacb
os/filestore: track objects with writes being applied

Note that this is *slight* overkill in that a *source* object of a clone
will also appear in the applying map, even though it is not being
modified.  Given that those clone operations are normally coupled with
another transaction that does write (which is why we are cloning in the
first place) this should not make any difference.

Signed-off-by: Sage Weil <sage@redhat.com>
src/os/ObjectStore.h
src/os/filestore/FileStore.cc
src/os/filestore/FileStore.h