[PATCH] ltp controllers: block device i/o bandwidth controller testcase

Subrata Modak subrata at linux.vnet.ibm.com
Mon Jul 14 10:23:38 PDT 2008


This too merged. A confirmation mail follows.

Regards--
Subrata

On Mon, 2008-07-07 at 15:43 +0200, Andrea Righi wrote:
> Subrata Modak wrote:
> > Thanks Andrea for contributing these tests to LTP. I will take some time
> > before testing this and coming back to you. Give me some time. Meanwhile
> > it would be great if Balbir/Dhaval/others can provide some review
> > comments as well.
> > 
> > Regards--
> > Subrata
> > 
> > On Mon, 2008-07-07 at 12:05 +0200, Andrea Righi wrote:
> >> Add the block device I/O bandwidth controller (io-throttle) testcase.
> >>
> >> See testcase documentation for design and implementation details.
> >> See also: http://lkml.org/lkml/2008/7/4/143
> >>
> >> Signed-off-by: Andrea Righi <righi.andrea at gmail.com>
> >> ---
> ...
> >> diff --exclude CVS -urpN ltp/testcases/kernel/controllers.orig/Makefile ltp/testcases/kernel/controllers/Makefile
> >> --- ltp/testcases/kernel/controllers.orig/Makefile	2008-04-30 09:19:29.000000000 +0200
> >> +++ ltp/testcases/kernel/controllers/Makefile	2008-07-07 11:43:07.000000000 +0200
> >> @@ -1,6 +1,7 @@
> >>  SUBDIRS = libcontrollers cpuctl memctl
> 
> yep! it seems I missed the target to build the whole thing.
> 
> Fix missing build targer for block device I/O bandwidth controller.
> Patch to be applied on top of the previous one.
> 
> Both patches are also available here:
> http://download.systemimager.org/~arighi/ltp/
> 
> Signed-off-by: Andrea Righi <righi.andrea at gmail.com>
> ---
> --- ltp/testcases/kernel/controllers/Makefile.orig	2008-07-07 15:21:42.000000000 +0200
> +++ ltp/testcases/kernel/controllers/Makefile	2008-07-07 12:25:50.000000000 +0200
> @@ -1,4 +1,4 @@
> -SUBDIRS = libcontrollers cpuctl memctl
> +SUBDIRS = libcontrollers cpuctl memctl io-throttle
>  CHECK_CPUCTL = $(shell grep -w cpu /proc/cgroups|cut -f1)
>  CHECK_MEMCTL = $(shell grep -w memory /proc/cgroups|cut -f1)
>  CHECK_BLOCKIOCTL= $(shell grep -w blockio /proc/cgroups|cut -f1)



More information about the Containers mailing list