On 6/29/18 7:33 AM, Josef Bacik wrote: > 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. Thanks Josef - applied, but with the below fixup on top. diff --git a/cgroup.h b/cgroup.h index e5b6addcf190..5afac7f7551f 100644 --- a/cgroup.h +++ b/cgroup.h @@ -18,13 +18,13 @@ void cgroup_kill(struct flist_head *list); struct cgroup_mnt; static inline int cgroup_setup(struct thread_data *td, struct flist_head *list, - char **mnt) + struct cgroup_mount **mnt) { td_verror(td, EINVAL, "cgroup_setup"); return 1; } -static inline void cgroup_shutdown(struct thread_data *td, struct cgroup_mnt **mnt) +static inline void cgroup_shutdown(struct thread_data *td, struct cgroup_mnt *mnt) { } -- Jens Axboe -- To unsubscribe from this list: send the line "unsubscribe fio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html