summary refs log tree commit diff
path: root/block/blk-stat.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2021-11-13 13:37:38 -0700
committerJens Axboe <axboe@kernel.dk>2021-11-29 06:38:35 -0700
commit25c4b5e058578066db56d757ad3a7adeaff35856 (patch)
tree53dc562b436557bc193792539586bcfb1309f723 /block/blk-stat.c
parent1e9c23034d7b216b02f1491505779dfe9a1a6e23 (diff)
downloadlinux-25c4b5e058578066db56d757ad3a7adeaff35856.tar.gz
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