diff options
author | Sage Weil <sage.weil@dreamhost.com> | 2012-01-27 12:23:33 -0800 |
---|---|---|
committer | Sage Weil <sage.weil@dreamhost.com> | 2012-01-27 12:23:33 -0800 |
commit | 374fec47253bad511eee52d372f182402fb17b1a (patch) | |
tree | 27edf67fda2e0f8154f7047497eba8270f1c3480 | |
parent | 6d37d5c95e88bae1653c63ebb4c307d0f3ee2f83 (diff) | |
download | ceph-374fec47253bad511eee52d372f182402fb17b1a.tar.gz |
objector: document Objecter::init_ops()
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
-rw-r--r-- | src/osdc/Objecter.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/osdc/Objecter.h b/src/osdc/Objecter.h index 7522a5929a3..61b6e8f7ccb 100644 --- a/src/osdc/Objecter.h +++ b/src/osdc/Objecter.h @@ -861,7 +861,16 @@ private: eversion_t *objver); void unregister_linger(uint64_t linger_id); - + /** + * set up initial ops in the op vector, and allocate a final op slot. + * + * The caller is responsible for filling in the final op. + * + * @param ops op vector + * @param ops_count number of initial ops + * @param extra_ops pointer to [array of] initial op[s] + * @return index of final op (for caller to fill in) + */ int init_ops(vector<OSDOp>& ops, int ops_count, ObjectOperation *extra_ops) { int i; |