summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-snap-persistent.c
diff options
context:
space:
mode:
authorGioh Kim <gi-oh.kim@profitbricks.com>2018-05-02 13:08:11 +0200
committerShaohua Li <shli@fb.com>2018-05-17 18:55:59 +0200
commitb33d10624fdc15cdf1495f3f00481afccec76783 (patch)
tree22e1f95e212cbb09bc903946db6cf93618babacc /drivers/md/dm-snap-persistent.c
parentmd: fix NULL dereference of mddev->pers in remove_and_add_spares() (diff)
downloadlinux-b33d10624fdc15cdf1495f3f00481afccec76783.tar.xz
linux-b33d10624fdc15cdf1495f3f00481afccec76783.zip
md/raid1: add error handling of read error from FailFast device
Current handle_read_error() function calls fix_read_error() only if md device is RW and rdev does not include FailFast flag. It does not handle a read error from a RW device including FailFast flag. I am not sure it is intended. But I found that write IO error sets rdev faulty. The md module should handle the read IO error and write IO error equally. So I think read IO error should set rdev faulty. Signed-off-by: Gioh Kim <gi-oh.kim@profitbricks.com> Reviewed-by: Jack Wang <jinpu.wang@profitbricks.com> Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'drivers/md/dm-snap-persistent.c')
0 files changed, 0 insertions, 0 deletions