]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
objecter: separate out linger_read() and linger_mutate()
authorSage Weil <sage@inktank.com>
Thu, 21 Feb 2013 23:44:19 +0000 (15:44 -0800)
committerJosh Durgin <josh.durgin@inktank.com>
Tue, 23 Apr 2013 18:33:17 +0000 (11:33 -0700)
commit9ea4dac1db46c20cd83c5af5d29d9ce7a5768380
tree8c2e6f91399caea21c15b3f5a81fc35127fc4a79
parentd9636faabfdb2c0a876f0afa092a2ab925cf8983
objecter: separate out linger_read() and linger_mutate()

A watch is a mutation, while a notify is a read.  The mutations need to
pass in a proper snap context to be fully correct.

Also, make the WRITE flag implicit so the caller doesn't need to pass it
in.

Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit 6c08c7c1c6d354d090eb16df279d4b63ca7a355a)
src/librados/IoCtxImpl.cc
src/osdc/Objecter.cc
src/osdc/Objecter.h