All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vivek Goyal <vgoyal@redhat.com>
To: Justin TerAvest <teravest@google.com>
Cc: jaxboe@fusionio.com, ctalbott@google.com,
	guijianfeng@cn.fujitsu.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] blk-cgroup: Lower minimum weight from 100 to 10.
Date: Tue, 8 Mar 2011 09:31:02 -0500	[thread overview]
Message-ID: <20110308143102.GC27455@redhat.com> (raw)
In-Reply-To: <1299538394-9669-1-git-send-email-teravest@google.com>

On Mon, Mar 07, 2011 at 02:53:14PM -0800, Justin TerAvest wrote:
> We've found that we still get good, useful isolation at weights this
> low. I'd like to adjust the minimum so that any other changes can take
> these values into account.
> ---
>  Documentation/cgroups/blkio-controller.txt |    2 +-
>  block/blk-cgroup.h                         |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 

Looks good to me.

Acked-by: Vivek Goyal <vgoyal@redhat.com>

Thanks
Vivek

> diff --git a/Documentation/cgroups/blkio-controller.txt b/Documentation/cgroups/blkio-controller.txt
> index 4ed7b5c..24314fd 100644
> --- a/Documentation/cgroups/blkio-controller.txt
> +++ b/Documentation/cgroups/blkio-controller.txt
> @@ -140,7 +140,7 @@ Proportional weight policy files
>  	- Specifies per cgroup weight. This is default weight of the group
>  	  on all the devices until and unless overridden by per device rule.
>  	  (See blkio.weight_device).
> -	  Currently allowed range of weights is from 100 to 1000.
> +	  Currently allowed range of weights is from 10 to 1000.
>  
>  - blkio.weight_device
>  	- One can specify per cgroup per device rules using this interface.
> diff --git a/block/blk-cgroup.h b/block/blk-cgroup.h
> index ea4861b..57e7234 100644
> --- a/block/blk-cgroup.h
> +++ b/block/blk-cgroup.h
> @@ -240,7 +240,7 @@ static inline char *blkg_path(struct blkio_group *blkg) { return NULL; }
>  
>  #endif
>  
> -#define BLKIO_WEIGHT_MIN	100
> +#define BLKIO_WEIGHT_MIN	10
>  #define BLKIO_WEIGHT_MAX	1000
>  #define BLKIO_WEIGHT_DEFAULT	500
>  
> -- 
> 1.7.3.1

  reply	other threads:[~2011-03-08 14:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-07 22:53 [PATCH] blk-cgroup: Lower minimum weight from 100 to 10 Justin TerAvest
2011-03-08 14:31 ` Vivek Goyal [this message]
2011-03-08 14:36 ` Jens Axboe
2011-03-08 15:03   ` Vivek Goyal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110308143102.GC27455@redhat.com \
    --to=vgoyal@redhat.com \
    --cc=ctalbott@google.com \
    --cc=guijianfeng@cn.fujitsu.com \
    --cc=jaxboe@fusionio.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=teravest@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.