]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: move misdirected op check from OSD thread to PG thread 6629/head
authorJason Dillaman <dillaman@redhat.com>
Fri, 23 Oct 2015 18:17:06 +0000 (14:17 -0400)
committerAbhishek Varshney <abhishek.varshney@flipkart.com>
Mon, 23 Nov 2015 06:36:29 +0000 (12:06 +0530)
commit0f5043975dbde75036b9f9e8be757494b8cdc73b
tree977e79fc049185145d10f8eea90ce978c2f6e57c
parent6750cab2d6f2c5f928f9c2d2c356047f93e9ce30
osd: move misdirected op check from OSD thread to PG thread

The op message isn't fully decoded until after the start of the PG
op handling.  Therefore, checking for misdirected ops needs to wait
until after the RWM flags have been initialized.

Fixes: #13491
Backport: infernalis
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 56ba90f5e49d499ea9f6bda9665031ce90abdc32)

Conflicts:
src/osd/ReplicatedPG.cc
In ReplicatedPG::do_op, resolved conflicts caused by afcfb050930e2e4086d631119022fd2dee9feb21 and 818d790f7d424520bc96c651571f2c86e94caf1e
src/osd/PG.cc
src/osd/ReplicatedPG.cc