summaryrefslogtreecommitdiffstats
path: root/drivers/md/md.h
diff options
context:
space:
mode:
authorShaohua Li2015-10-09 06:54:08 +0200
committerNeilBrown2015-11-01 03:48:29 +0100
commit6e74a9cfb5a55b0a4214809321b67d7065e55555 (patch)
tree30c3ed87535416ea84cc9698c4a00999598f9bbc /drivers/md/md.h
parentraid5: journal disk can't be removed (diff)
downloadkernel-qcow2-linux-6e74a9cfb5a55b0a4214809321b67d7065e55555.tar.gz
kernel-qcow2-linux-6e74a9cfb5a55b0a4214809321b67d7065e55555.tar.xz
kernel-qcow2-linux-6e74a9cfb5a55b0a4214809321b67d7065e55555.zip
raid5-cache: IO error handling
There are 3 places the raid5-cache dispatches IO. The discard IO error doesn't matter, so we ignore it. The superblock write IO error can be handled in MD core. The remaining are log write and flush. When the IO error happens, we mark log disk faulty and fail all write IO. Read IO is still allowed to run. Userspace will get a notification too and corresponding daemon can choose setting raid array readonly for example. Signed-off-by: Shaohua Li <shli@fb.com> Signed-off-by: NeilBrown <neilb@suse.com>
Diffstat (limited to 'drivers/md/md.h')
0 files changed, 0 insertions, 0 deletions