-
- Downloads
blk-cgroup: remove blkcg_bio_issue_check
blkcg_bio_issue_check is a giant inline function that does three entirely different things. Factor out the blk-cgroup related bio initalization into a new helper, and the open code the sequence in the only caller, relying on the fact that all the actual functionality is stubbed out for non-cgroup builds. Acked-by:Tejun Heo <tj@kernel.org> Signed-off-by:
Christoph Hellwig <hch@lst.de> Signed-off-by:
Jens Axboe <axboe@kernel.dk>
Showing
- block/blk-cgroup.c 34 additions, 0 deletionsblock/blk-cgroup.c
- block/blk-core.c 6 additions, 1 deletionblock/blk-core.c
- block/blk-throttle.c 3 additions, 2 deletionsblock/blk-throttle.c
- block/blk.h 2 additions, 0 deletionsblock/blk.h
- include/linux/blk-cgroup.h 2 additions, 54 deletionsinclude/linux/blk-cgroup.h
Loading
Please register or sign in to comment