]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: do not send ENXIO on misdirected op by default 13206/head
authorSage Weil <sage@redhat.com>
Tue, 31 Jan 2017 20:14:59 +0000 (15:14 -0500)
committerSage Weil <sage@redhat.com>
Tue, 31 Jan 2017 20:14:59 +0000 (15:14 -0500)
commit923e7f5ce5ed437af15e178299a61029ff48e4a2
tree235036e8e1267716cf6c4165573fb55d6e493c1a
parent6995d2c1422f6cbd57f7abc0b2a5178fa99d9b37
osd: do not send ENXIO on misdirected op by default

In practice this tends to get bubbled up the stack as an error on
the caller, and they usually do not handle it properly.  For example,
with librbd, this turns into EIO and break the VM.

Instead, this will manifest as a hung op on the client.  That is
also not ideal, but given that the root cause here is generally a
bug, it's not clear what else would be better.

We already log an error in the cluster log, so teuthology runs will
continue to fail.

Signed-off-by: Sage Weil <sage@redhat.com>
PendingReleaseNotes
src/common/config_opts.h
src/osd/OSD.cc