diff options
author | Michael Lyle <mlyle@lyle.org> | 2017-10-14 01:35:35 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-10-16 17:07:26 +0200 |
commit | 5fa89fb9a86bcc0f0b3f21ab6087a8a4170dcd2c (patch) | |
tree | b6c92d9d66ba6b6778b1860b431354892cd0f95b /drivers/md/raid5.c | |
parent | bcache: remove unused parameter (diff) | |
download | linux-5fa89fb9a86bcc0f0b3f21ab6087a8a4170dcd2c.tar.xz linux-5fa89fb9a86bcc0f0b3f21ab6087a8a4170dcd2c.zip |
bcache: don't write back data if reading it failed
If an IO operation fails, and we didn't successfully read data from the
cache, don't writeback invalid/partial data to the backing disk.
Signed-off-by: Michael Lyle <mlyle@lyle.org>
Reviewed-by: Coly Li <colyli@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md/raid5.c')
0 files changed, 0 insertions, 0 deletions