]> 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)
committerSage Weil <sage@inktank.com>
Fri, 22 Feb 2013 01:31:41 +0000 (17:31 -0800)
commit6c08c7c1c6d354d090eb16df279d4b63ca7a355a
treec90436474d2fba407c4795e97a09062d41ddd92b
parentde4fa95f03b99a55b5713911c364d7e2a4588679
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>
src/librados/IoCtxImpl.cc
src/osdc/Objecter.cc
src/osdc/Objecter.h