diff options
author | Christoph Hellwig <hch@lst.de> | 2024-11-12 18:00:38 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-11-12 14:42:02 -0700 |
commit | 61952bb73486fff0f5550bccdf4062d9dd0fb163 (patch) | |
tree | f9c82a4ef060e027a01043a7806d50ebdd8b4ad6 /include/linux/blk-mq.h | |
parent | 0b4ace9da58df62c1763635ab10ae1bc8ed8182a (diff) |
block: remove the write_hint field from struct request
The write_hint is only used for read/write requests, which must have a
bio attached to them. Just use the bio field instead.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20241112170050.1612998-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/blk-mq.h')
-rw-r--r-- | include/linux/blk-mq.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/blk-mq.h b/include/linux/blk-mq.h index 2035fad3131f..2804fe181d9d 100644 --- a/include/linux/blk-mq.h +++ b/include/linux/blk-mq.h @@ -156,7 +156,6 @@ struct request { struct blk_crypto_keyslot *crypt_keyslot; #endif - enum rw_hint write_hint; unsigned short ioprio; enum mq_rq_state state; |