]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: move object_info_t, exists, size into ObjectState
authorSage Weil <sage@newdream.net>
Thu, 28 May 2009 04:43:41 +0000 (21:43 -0700)
committerSage Weil <sage@newdream.net>
Thu, 28 May 2009 04:43:41 +0000 (21:43 -0700)
commit0ebda4a95cd9402e459317f9c2b0dab1c93446b4
tree97fa37407581cd3d3e6d8f270e12a816d80de84d
parent41cee828d6f5c4fe19dec8fece5d23d2b220e540
osd: move object_info_t, exists, size into ObjectState

The main goal is to capture everything needed by the op context
(the object_info_t, exists, size) in something that doesn't include all
of ObjectContext (such as teh current access mode, num writers, and other
things that only the primary needs) so that the sub_op_modify setup is
as simple as possible.

This kills the annoying exists, size args in all the helpers.
src/osd/ReplicatedPG.cc
src/osd/ReplicatedPG.h