diff options
author | Vivek Goyal <vgoyal@redhat.com> | 2009-12-03 20:59:42 +0300 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-12-03 21:28:51 +0300 |
commit | 31e4c28d95e64f2d5d3c497a3ecf37c62de635b4 (patch) | |
tree | ffbb99b2565c4bdd4921fd7077164e7fc295b2bc /include/linux/iocontext.h | |
parent | 1fa8f6d68b5c8ca0a608fd8d296c5f07ac788cd6 (diff) | |
download | linux-31e4c28d95e64f2d5d3c497a3ecf37c62de635b4.tar.xz |
blkio: Introduce blkio controller cgroup interface
o This is basic implementation of blkio controller cgroup interface. This is
the common interface visible to user space and should be used by different
IO control policies as we implement those.
Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'include/linux/iocontext.h')
-rw-r--r-- | include/linux/iocontext.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/iocontext.h b/include/linux/iocontext.h index eb73632440f1..d61b0b8b5cd1 100644 --- a/include/linux/iocontext.h +++ b/include/linux/iocontext.h @@ -68,6 +68,10 @@ struct io_context { unsigned short ioprio; unsigned short ioprio_changed; +#ifdef CONFIG_BLK_CGROUP + unsigned short cgroup_changed; +#endif + /* * For request batching */ |