]> git.apps.os.sepia.ceph.com Git - ceph-ci.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>
Sun, 7 Apr 2019 21:01:38 +0000 (16:01 -0500)
commit8827250d5ae2ba5dc18c28d11c986c80d888489a
treecc9e97cd4e96df18e22ae2264b279c2f15f7a815
parentcef94b72b2f66346b51759ce07afed072e25582f
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>
src/os/filestore/FileStore.cc
src/os/filestore/FileStore.h