commit | 5fa89fb9a86bcc0f0b3f21ab6087a8a4170dcd2c | [log] [tgz] |
---|---|---|
author | Michael Lyle <mlyle@lyle.org> | Fri Oct 13 16:35:35 2017 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Oct 16 09:07:26 2017 -0600 |
tree | b6c92d9d66ba6b6778b1860b431354892cd0f95b | |
parent | 238501027abf0386fa5f5dcaf589f406eb187bc3 [diff] |
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>