summaryrefslogtreecommitdiffstats
path: root/block/blk-cgroup.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2012-03-05 13:15:29 -0800
committerJens Axboe <axboe@kernel.dk>2012-03-06 21:27:24 +0100
commit671058fb2a2aac4e70f01b316b06bc59b98bd138 (patch)
tree6c49961409ad0e3c16b5e2027f515cafecedf39a /block/blk-cgroup.h
parent4f85cb96d9d2fbbb7160db855a6beee1baced5e5 (diff)
downloadlinux-671058fb2a2aac4e70f01b316b06bc59b98bd138.tar.bz2
block: make blk-throttle preserve the issuing task on delayed bios
Make blk-throttle call bio_associate_current() on bios being delayed such that they get issued to block layer with the original io_context. This allows stacking blk-throttle and cfq-iosched propio policies. bios will always be issued with the correct ioc and blkcg whether it gets delayed by blk-throttle or not. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Vivek Goyal <vgoyal@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-cgroup.h')
0 files changed, 0 insertions, 0 deletions