Files
linux/block
Christoph Hellwig 78887d004f block: correctly report cache type
Check the features flag and the override flag using the
blk_queue_write_cache, helper otherwise we're going to always
report "write through".

Fixes: 1122c0c1cc ("block: move cache control settings out of queue->flags")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: John Garry <john.g.garry@oracle.com>
Link: https://lore.kernel.org/r/20240626142637.300624-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2024-06-26 09:37:35 -06:00
..
2024-06-18 09:22:45 -06:00
2024-06-18 09:22:45 -06:00
2024-06-18 09:22:45 -06:00
2024-06-26 09:37:35 -06:00
2024-06-20 15:19:17 -06:00
2024-06-20 15:19:17 -06:00