]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osdc/Objecter: skip sparse-read result decode if bufferlist is empty 18744/head
authorJason Dillaman <dillaman@redhat.com>
Fri, 20 Oct 2017 02:24:31 +0000 (22:24 -0400)
committerShinobu Kinjo <shinobu@redhat.com>
Sun, 5 Nov 2017 03:48:31 +0000 (12:48 +0900)
commitdfebcce5a445793267ec8979bcb56ec04954d154
treee824bd634950669ba1466cdaaab77b3ab39b05a2
parenta5899a57e4f077f4061fc2aa33a61377de7ac025
osdc/Objecter: skip sparse-read result decode if bufferlist is empty

If the OSD does not execute sub-ops due to errors encountered prior to
the sub-op, the sub-op result remains zeroed with empty out data.
Attempting to decode the empty bufferlist results in large exception
handling CPU overhead.

Fixes: http://tracker.ceph.com/issues/21844
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit dc9b309d03074862daad9ef05ef643da870f6722)
src/osdc/Objecter.h