]> www.infradead.org Git - users/hch/misc.git/commit
block: remove the ioprio field from struct request
authorChristoph Hellwig <hch@lst.de>
Tue, 12 Nov 2024 17:00:39 +0000 (18:00 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 12 Nov 2024 21:42:02 +0000 (14:42 -0700)
commit6975c1a486a40446b5bc77a89d9c520f8296fd08
treec7cc8dbe7682532d552bacc426d0ae18bb4b1e26
parent61952bb73486fff0f5550bccdf4062d9dd0fb163
block: remove the ioprio field from struct request

The request ioprio is only initialized from the first attached bio,
so requests without a bio already never set it.  Directly 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-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-merge.c
block/blk-mq.c
include/linux/blk-mq.h
include/trace/events/block.h