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