]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: you may, but need not, specify READ|WRITE flag in MOSDOp.
authorSage Weil <sage@newdream.net>
Fri, 12 Jun 2009 05:55:07 +0000 (22:55 -0700)
committerSage Weil <sage@newdream.net>
Fri, 12 Jun 2009 05:55:07 +0000 (22:55 -0700)
commitbb9a10910a6274a09d3bf872e17dc3f6fb493a52
treee7edf5118a4bb97914c287fb489485745fa5c7a6
parent8b6fa652627b4e978f89383e2d5efe7aaef9f9b0
osd: you may, but need not, specify READ|WRITE flag in MOSDOp.

The OSD will implicitly set the bits based on your OSDOps or class method
calls.  The client may still find it useful to specify these expicitly
for it's own informational purposes.

Make sure the MOSDOpReply has bits set based on the _actual_ op performed.

Note that as things stand, this will confuse the Objecter, who relies on
these bits to choose read or modify reply paths and doesn't know a priori
what mode a method is.
src/TODO
src/messages/MOSDOp.h
src/messages/MOSDOpReply.h
src/osd/OSD.cc