]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/ReplicatedPG: respect RWORDERED rados flag
authorSage Weil <sage@inktank.com>
Tue, 24 Sep 2013 18:22:19 +0000 (11:22 -0700)
committerSage Weil <sage@inktank.com>
Tue, 24 Sep 2013 19:37:10 +0000 (12:37 -0700)
commit9322305c80e995e1c4a964edff0fc094329d951b
tree9e1b2f39e4d045b9bb791651def2b1eb41910a94
parentb0fee96078bf5e09336a0b2386b26af2c3788a4e
osd/ReplicatedPG: respect RWORDERED rados flag

If this flag is set, we need to order reads as writes.  In particular, this
means that reads will wait for degraded object recovery even if there is a
local copy.  And subsequently will be ordered after a preceding write that
is waiting for the same thing.

Signed-off-by: Sage Weil <sage@inktank.com>
src/osd/ReplicatedPG.cc