OSDN Git Service

block: Remove request.write_hint
authorBart Van Assche <bvanassche@acm.org>
Tue, 25 Oct 2022 19:17:53 +0000 (12:17 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 25 Oct 2022 19:41:12 +0000 (13:41 -0600)
Commit c75e707fe1aa ("block: remove the per-bio/request write hint")
removed all code that uses the struct request write_hint member. Hence
also remove 'write_hint' itself.

Reviewed-by: Ming Lei <ming.lei@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20221025191755.1711437-2-bvanassche@acm.org
Reviewed-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/blk-mq.h

index ba18e9b..569053e 100644 (file)
@@ -140,7 +140,6 @@ struct request {
        struct blk_crypto_keyslot *crypt_keyslot;
 #endif
 
-       unsigned short write_hint;
        unsigned short ioprio;
 
        enum mq_rq_state state;