]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/filestore: make note of EIO errors when we see them
authorSage Weil <sage@redhat.com>
Thu, 4 Apr 2019 20:48:40 +0000 (15:48 -0500)
committerSage Weil <sage@redhat.com>
Mon, 8 Apr 2019 14:29:51 +0000 (09:29 -0500)
commit67ed391906c30449bb6df6640723df44ee1e3ed5
treeb5fafea8e75f55e8a9fd49e6775048fc2519e16f
parentbdbaa34b7ec895d1bc31839fb66b199acc196d40
os/filestore: make note of EIO errors when we see them

This is imprecise, since we can't (easily) map an EIO back to a specific
part of the device, or even (easily) tell whether it was a read or write
error.  It's enough to mark a crash dump as an EIO event, though, and to
include the name of the (primary) filestore device.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 8827250d5ae2ba5dc18c28d11c986c80d888489a)
src/os/filestore/FileStore.cc
src/os/filestore/FileStore.h