summaryrefslogtreecommitdiff
path: root/cgroup.h
AgeCommit message (Collapse)Author
2018-06-29Fix compilation without cgroupsJens Axboe
Fixes: c3dc516ad75e ("fio: work with cgroup2 as well") Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-06-29fio: work with cgroup2 as wellJosef Bacik
The current code only works with cgroupv1, but as long as you don't want to set blkio.weight or anything we can use the 'cgroup=' setting with cgroupv2 easily with cgroupv1, we just need to write the thread pids to a different file for cgroup2. Signed-off-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
2012-02-15Fix typoJens Axboe
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2012-02-15Fix build issue for non-cgroup supportJens Axboe
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2009-12-07Fix compilation for non-linuxJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-12-07Autodetect cgroup blkio mount pointJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-12-04Move cgroup list to proper shared storageJens Axboe
Otherwise we have per-job lists, and that doesn't help very much with cleaning up. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-12-04Better support for setting up and removing private cgroupsJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-12-04Add support for blkio cgroups on LinuxJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>