]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/ECBackend: wait for apply for luminous peers 21604/head
authorSage Weil <sage@redhat.com>
Mon, 23 Apr 2018 18:22:26 +0000 (13:22 -0500)
committerSage Weil <sage@redhat.com>
Mon, 23 Apr 2018 18:23:53 +0000 (13:23 -0500)
commitf2942aa571af8a4ce24e71be6ce2a39ebb5d0ad5
treedee6d589234e75908c3d9af985e968ccb104b445
parent7003d415db4d4e705e4222c7af7bf7ae08fb2880
osd/ECBackend: wait for apply for luminous peers

Avoid completing a write until luminous peers also apply the change.
This is overkill, but works around a problem where completing our write
here allows the next read to start too early.  This is because the
PrimaryLogPG is handling the write-to-read ordering, but completing the
write releases the write lock in the PG.

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