]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osdc: cache should ignore error bhs during trim 13245/head
authorJason Dillaman <dillaman@redhat.com>
Tue, 17 Jan 2017 16:55:00 +0000 (11:55 -0500)
committerNathan Cutler <ncutler@suse.com>
Fri, 3 Feb 2017 12:15:10 +0000 (13:15 +0100)
commitd96ae9ead2d2f58180e533a63c640098d5134047
tree9a1cc9cfab9d4d58a0e556bbb8f56d4ef6d8c42f
parentce8edcfed6cd908779efd229202eab1232d16f1c
osdc: cache should ignore error bhs during trim

A read error (such as injecting a timeout into an OSD op) might result
in a bh in an error state. These should be trimable by the cache.

Fixes: http://tracker.ceph.com/issues/18436
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 5910ed9de9856b5821488a1836487bbbd3d6460e)
src/osdc/ObjectCacher.cc