]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: move misdirected op check from OSD thread to PG thread 6364/head
authorJason Dillaman <dillaman@redhat.com>
Fri, 23 Oct 2015 18:17:06 +0000 (14:17 -0400)
committerJason Dillaman <dillaman@redhat.com>
Fri, 23 Oct 2015 18:18:49 +0000 (14:18 -0400)
commit56ba90f5e49d499ea9f6bda9665031ce90abdc32
tree5e332759a8345ef924c7f6d5bbed5a16c39f43fd
parent652856321b0f14293cd885c865552d5b7e787f9a
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>
src/osd/PG.cc
src/osd/ReplicatedPG.cc