diff options
author | Christoph Hellwig <hch@lst.de> | 2023-12-26 09:07:47 +0000 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-12-26 09:28:10 -0700 |
commit | 5d13243820c457edf54a1fd848141ce7eb092671 (patch) | |
tree | a19e42d2ac7f38f475df03a2073c3304a114fe95 /block/blk-wbt.h | |
parent | 1c042f8d4bc342b7985b1de3d76836f1a1083b65 (diff) |
blk-wbt: remove the separate write cache tracking
Use the queue wide write back cache tracking insted of duplicating the
value in strut rq_wb.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20231226090747.204969-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-wbt.h')
-rw-r--r-- | block/blk-wbt.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/block/blk-wbt.h b/block/blk-wbt.h index 8a029e138f7a..e5fc653b9b76 100644 --- a/block/blk-wbt.h +++ b/block/blk-wbt.h @@ -12,8 +12,6 @@ u64 wbt_get_min_lat(struct request_queue *q); void wbt_set_min_lat(struct request_queue *q, u64 val); bool wbt_disabled(struct request_queue *); -void wbt_set_write_cache(struct request_queue *, bool); - u64 wbt_default_latency_nsec(struct request_queue *); #else @@ -24,9 +22,6 @@ static inline void wbt_disable_default(struct gendisk *disk) static inline void wbt_enable_default(struct gendisk *disk) { } -static inline void wbt_set_write_cache(struct request_queue *q, bool wc) -{ -} #endif /* CONFIG_BLK_WBT */ |