]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
blk-throttle: don't parse cgroup path if trace isn't enabled
authorShaohua Li <shli@fb.com>
Tue, 10 May 2016 00:22:15 +0000 (17:22 -0700)
committerJens Axboe <axboe@fb.com>
Tue, 10 May 2016 14:41:37 +0000 (08:41 -0600)
commit59fa0224cfea31dde596e29555de94c961b139f9
tree4d0812a3b897bc9f1ad1ca45bd156141b5c8b946
parent8d1547e08dda8848f01185b3fd6bb946b68de99f
blk-throttle: don't parse cgroup path if trace isn't enabled

if trace isn't enabled, parsing cgroup path just wastes cpu

Signed-off-by: Shaohua Li <shli@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-throttle.c
include/linux/blktrace_api.h