Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information