diff options
author | Coly Li <colyli@suse.de> | 2019-06-28 19:59:27 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-06-28 07:39:14 -0600 |
commit | 695277f16b3a102fcc22c97fdf2de77c7b19f0b3 (patch) | |
tree | 965f6c4b27022c0fe4fd4d151d8c20b530f52c55 /drivers/md/md-linear.c | |
parent | 0ae49cb7aa005ed18fe8f4d6ccf73019b78ac7b2 (diff) | |
download | linux-695277f16b3a102fcc22c97fdf2de77c7b19f0b3.tar.gz linux-695277f16b3a102fcc22c97fdf2de77c7b19f0b3.tar.bz2 linux-695277f16b3a102fcc22c97fdf2de77c7b19f0b3.zip |
Revert "bcache: set CACHE_SET_IO_DISABLE in bch_cached_dev_error()"
This reverts commit 6147305c73e4511ca1a975b766b97a779d442567.
Although this patch helps the failed bcache device to stop faster when
too many I/O errors detected on corresponding cached device, setting
CACHE_SET_IO_DISABLE bit to cache set c->flags was not a good idea. This
operation will disable all I/Os on cache set, which means other attached
bcache devices won't work neither.
Without this patch, the failed bcache device can also be stopped
eventually if internal I/O accomplished (e.g. writeback). Therefore here
I revert it.
Fixes: 6147305c73e4 ("bcache: set CACHE_SET_IO_DISABLE in bch_cached_dev_error()")
Reported-by: Yong Li <mr.liyong@qq.com>
Signed-off-by: Coly Li <colyli@suse.de>
Cc: stable@vger.kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md/md-linear.c')
0 files changed, 0 insertions, 0 deletions