summaryrefslogtreecommitdiff
path: root/drivers/md/bcache/bcache.h
diff options
context:
space:
mode:
authorMichael Lyle <mlyle@lyle.org>2017-10-14 02:35:35 +0300
committerJens Axboe <axboe@kernel.dk>2017-10-16 18:07:26 +0300
commit5fa89fb9a86bcc0f0b3f21ab6087a8a4170dcd2c (patch)
treeb6c92d9d66ba6b6778b1860b431354892cd0f95b /drivers/md/bcache/bcache.h
parent238501027abf0386fa5f5dcaf589f406eb187bc3 (diff)
downloadlinux-5fa89fb9a86bcc0f0b3f21ab6087a8a4170dcd2c.tar.xz
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/bcache/bcache.h')
0 files changed, 0 insertions, 0 deletions