Searched hist:"78887 d004fb2bb03233122a048eaf46e850dabf4" (Results 1 – 1 of 1) sorted by relevance
/linux/block/ |
H A D | blk-sysfs.c | diff 78887d004fb2bb03233122a048eaf46e850dabf4 Wed Jun 26 16:26:23 CEST 2024 Christoph Hellwig <hch@lst.de> 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: 1122c0c1cc71 ("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>
|