]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/OSD: use OSDMap helper to determine if we are correct op target 2906/head
authorSage Weil <sage@redhat.com>
Thu, 13 Nov 2014 01:11:10 +0000 (17:11 -0800)
committerSage Weil <sage@redhat.com>
Thu, 13 Nov 2014 01:11:10 +0000 (17:11 -0800)
commit9e05ba086a36ae9a04b347153b685c2b8adac2c3
treec6b5ec93675ee5e8b7b15950ee7c87a4cfa1393c
parent89c02637914ac7332e9dbdbfefc2049b2b6c127d
osd/OSD: use OSDMap helper to determine if we are correct op target

Use the new helper.  This fixes our behavior for EC pools where targetting
a different shard is not correct, while for replicated pools it may be. In
the EC case, it leaves the op hanging indefinitely in the OpTracker because
the pgid exists but as a different shard.

Fixes: #9835
Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/OSD.cc