diff options
author | Jens Axboe <axboe@kernel.dk> | 2021-11-13 13:37:38 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-11-29 06:38:35 -0700 |
commit | 25c4b5e058578066db56d757ad3a7adeaff35856 (patch) | |
tree | 53dc562b436557bc193792539586bcfb1309f723 /include/linux/dccp.h | |
parent | 1e9c23034d7b216b02f1491505779dfe9a1a6e23 (diff) | |
download | linux-stable-25c4b5e058578066db56d757ad3a7adeaff35856.tar.gz linux-stable-25c4b5e058578066db56d757ad3a7adeaff35856.tar.bz2 linux-stable-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 'include/linux/dccp.h')
0 files changed, 0 insertions, 0 deletions