diff options
author | Shaohua Li <shli@fb.com> | 2017-07-12 20:49:54 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-07-29 17:00:03 +0200 |
commit | 007cc56b7eeca8848021bc43aca2b8607fbe5589 (patch) | |
tree | d178bdf4a51e3a0b6b4b72341dd10b9aa3d299c4 /fs/kernfs | |
parent | blktrace: export cgroup info in trace (diff) | |
download | linux-007cc56b7eeca8848021bc43aca2b8607fbe5589.tar.xz linux-007cc56b7eeca8848021bc43aca2b8607fbe5589.zip |
block: always attach cgroup info into bio
blkcg_bio_issue_check() already gets blkcg for a BIO.
bio_associate_blkcg() uses a percpu refcounter, so it's a very cheap
operation. There is no point we don't attach the cgroup info into bio at
blkcg_bio_issue_check. This also makes blktrace outputs correct cgroup
info.
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 'fs/kernfs')
0 files changed, 0 insertions, 0 deletions