Skip to content
Commit 2527fd38 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Christian Brauner
Browse files

dasd: also call __invalidate_device when setting the device offline



Don't just write out the data, but also invalidate all caches when setting
the device offline.  Stop canceling the offlining when writeback fails
as there is no way to recover from that anyway.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarJosef Bacik <josef@toxicpanda.com>
Message-Id: <20230811100828.1897174-12-hch@lst.de>
Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
parent 2c0326c5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment