]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ReplicatedPG: fix successful write condition
authorJosh Durgin <josh.durgin@inktank.com>
Tue, 18 Feb 2014 06:42:13 +0000 (22:42 -0800)
committerJosh Durgin <josh.durgin@inktank.com>
Tue, 18 Feb 2014 20:34:33 +0000 (12:34 -0800)
commitbfbfcd6eadac2a74a2f992bdb0a4044b06f94611
treeaf6944def754495152372654faa65b52e3667264
parent18f08cd9c0a3972149eef635fb1035dfc4fcb662
ReplicatedPG: fix successful write condition

ctx->modify no longer implies that the operation is a write,
if it ever did. These days op->may_write() is checked reliably
on the OSD, so just use that instead.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
src/osd/ReplicatedPG.cc