]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osdc/Objecter: skip sparse-read result decode if bufferlist is empty 18400/head
authorJason Dillaman <dillaman@redhat.com>
Fri, 20 Oct 2017 02:24:31 +0000 (22:24 -0400)
committerJason Dillaman <dillaman@redhat.com>
Fri, 20 Oct 2017 02:33:01 +0000 (22:33 -0400)
commitdc9b309d03074862daad9ef05ef643da870f6722
treee1652b5d859d6b49c854b20889f28cfde4e59822
parent34951266fe2ccc14ee1503d62e15a9dffad31a5f
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>
src/osdc/Objecter.h