summaryrefslogtreecommitdiff
path: root/block/disk-events.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-08-11 12:08:22 +0200
committerChristian Brauner <brauner@kernel.org>2023-08-21 14:35:31 +0200
commit2527fd38772fea30c1d1cbf94839a0bbf4122133 (patch)
tree50c741bacf5955667d194117c653c4ed5de4bb27 /block/disk-events.c
parent2c0326c587965a40c4013361b1f4d0e5cca5194e (diff)
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: Christoph Hellwig <hch@lst.de> Reviewed-by: Josef Bacik <josef@toxicpanda.com> Message-Id: <20230811100828.1897174-12-hch@lst.de> Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'block/disk-events.c')
0 files changed, 0 insertions, 0 deletions