]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: report -EINVAL to on_finish in asok_route_to_pg catch 69865/head
authorSun Yuechi <sunyuechi@iscas.ac.cn>
Wed, 1 Jul 2026 08:37:35 +0000 (16:37 +0800)
committerSun Yuechi <sunyuechi@iscas.ac.cn>
Wed, 1 Jul 2026 08:37:35 +0000 (16:37 +0800)
commitdb8d59ee4d615ddcc810da961352ccdb61026abb
tree05fd52c984a2526da4ae7dd8c549455db19aa1a2
parent8b05b5da09081fd83d7a853681c7f3936499a5a8
osd: report -EINVAL to on_finish in asok_route_to_pg catch

The handler passed the stale locate result (0) while returning -EINVAL,
so callers saw success on a bad_cmd_get failure.

Only reachable via the "scrubdebug" asok command (the sole user of
asok_route_to_pg) when a parameter fails type parsing.

Signed-off-by: Sun Yuechi <sunyuechi@iscas.ac.cn>
src/osd/OSD.cc