diff options
author | Jens Axboe <axboe@kernel.dk> | 2021-11-13 21:37:38 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-11-29 14:38:35 +0100 |
commit | 25c4b5e058578066db56d757ad3a7adeaff35856 (patch) | |
tree | 53dc562b436557bc193792539586bcfb1309f723 /block/blk-stat.c | |
parent | blk-mq: move more plug handling from blk_mq_submit_bio into blk_add_rq_to_plug (diff) | |
download | linux-25c4b5e058578066db56d757ad3a7adeaff35856.tar.xz linux-25c4b5e058578066db56d757ad3a7adeaff35856.zip |
blk-ioprio: don't set bio priority if not needed
We don't need to write to the bio if:
1) No ioprio value has ever been assigned to the blkcg
2) We wouldn't anyway, depending on bio and blkcg IO priority
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-stat.c')
0 files changed, 0 insertions, 0 deletions