summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorJustin TerAvest <teravest@google.com>2011-03-08 19:45:00 +0100
committerJens Axboe <jaxboe@fusionio.com>2011-03-08 19:45:00 +0100
commitdf457f845e5449be2e7d96668791f789b3770ac7 (patch)
tree5279d8ad1379ab890a90453d5018bb473c90d7d5 /block
parentdf677140281beb608f6748c341af7612f7bfe7a0 (diff)
downloadlwn-df457f845e5449be2e7d96668791f789b3770ac7.tar.gz
lwn-df457f845e5449be2e7d96668791f789b3770ac7.zip
blk-cgroup: Lower minimum weight from 100 to 10.
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. Signed-off-by: Justin TerAvest <teravest@google.com> Acked-by: Vivek Goyal <vgoyal@redhat.com> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'block')
-rw-r--r--block/blk-cgroup.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-cgroup.h b/block/blk-cgroup.h
index ea4861bdd549..57e7234c5ae5 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