summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-03-04 18:55:56 +0100
committerJens Axboe <axboe@kernel.dk>2022-03-07 12:45:57 -0700
commitc75e707fe1aab32f1dc8e09845533b6542d9aaa9 (patch)
tree9677a5c6208862bfa95b0b5b9d7a635b0d3b3e2f /include
parent85e6c775762aa4067d2c2b8121e59a06564d0dc4 (diff)
downloadlinux-stable-c75e707fe1aab32f1dc8e09845533b6542d9aaa9.tar.gz
linux-stable-c75e707fe1aab32f1dc8e09845533b6542d9aaa9.tar.bz2
linux-stable-c75e707fe1aab32f1dc8e09845533b6542d9aaa9.zip
block: remove the per-bio/request write hint
With the NVMe support for this gone, there are no consumers of these hints left, so remove them. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20220304175556.407719-2-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include')
-rw-r--r--include/linux/blk_types.h1
-rw-r--r--include/linux/blkdev.h3
2 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/blk_types.h b/include/linux/blk_types.h
index 5561e58d158a..ba8cfa57255f 100644
--- a/include/linux/blk_types.h
+++ b/include/linux/blk_types.h
@@ -250,7 +250,6 @@ struct bio {
*/
unsigned short bi_flags; /* BIO_* below */
unsigned short bi_ioprio;
- unsigned short bi_write_hint;
blk_status_t bi_status;
atomic_t __bi_remaining;
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index a12c031af887..226836ccd060 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -518,9 +518,6 @@ struct request_queue {
bool mq_sysfs_init_done;
-#define BLK_MAX_WRITE_HINTS 5
- u64 write_hints[BLK_MAX_WRITE_HINTS];
-
/*
* Independent sector access ranges. This is always NULL for
* devices that do not have multiple independent access ranges.