projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
client: don't clear client->addr after it's been set
[fio.git]
/
cgroup.h
diff --git
a/cgroup.h
b/cgroup.h
index 65fa3ad128ce5d036d74a0f9ca5e80f26deb3c1b..68ecfcd40ae466a7f455e07c04635b09b7a012ed 100644
(file)
--- a/
cgroup.h
+++ b/
cgroup.h
@@
-3,18
+3,25
@@
#ifdef FIO_HAVE_CGROUPS
#ifdef FIO_HAVE_CGROUPS
-int cgroup_setup(struct thread_data *td);
-void cgroup_shutdown(struct thread_data *td);
+int cgroup_setup(struct thread_data *, struct flist_head *, char **);
+void cgroup_shutdown(struct thread_data *, char **);
+
+void cgroup_kill(struct flist_head *list);
#else
#else
-static inline int cgroup_setup(struct thread_data *td)
+static inline int cgroup_setup(struct thread_data *td, struct flist_head *list,
+ char **mnt)
{
td_verror(td, EINVAL, "cgroup_setup");
return 1;
}
{
td_verror(td, EINVAL, "cgroup_setup");
return 1;
}
-static inline void cgroup_shutdown(struct thread_data *td)
+static inline void cgroup_shutdown(struct thread_data *td, char **mnt)
+{
+}
+
+void cgroup_kill(struct flist_head *list)
{
}
{
}