aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/loop.h
diff options
context:
space:
mode:
authorShaohua Li <shli@fb.com>2017-09-14 14:02:06 -0700
committerJens Axboe <axboe@kernel.dk>2017-09-26 07:41:22 -0600
commit902ec5b6de0678ac2effba0faaafdd1c3e7fcf2e (patch)
tree1e3c7ab62c68cd37e81a13f46bceba374c5ea5ae /drivers/block/loop.h
parentblkcg: delete unused APIs (diff)
downloadlinux-dev-902ec5b6de0678ac2effba0faaafdd1c3e7fcf2e.tar.xz
linux-dev-902ec5b6de0678ac2effba0faaafdd1c3e7fcf2e.zip
block: make blkcg aware of kthread stored original cgroup info
bio_blkcg is the only API to get cgroup info for a bio right now. If bio_blkcg finds current task is a kthread and has original blkcg associated, it will use the css instead of associating the bio to current task. This makes it possible that kthread dispatches bios on behalf of other threads. Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: Shaohua Li <shli@fb.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/loop.h')
0 files changed, 0 insertions, 0 deletions