blkio-throttle: limit max iops value to UINT_MAX
authorVivek Goyal <vgoyal@redhat.com>
Fri, 1 Oct 2010 19:16:41 +0000 (21:16 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Fri, 1 Oct 2010 19:16:41 +0000 (21:16 +0200)
commit9355aede5a3c4975e0ba8bbfe2b9d1fd73308916
tree73db212009de0e60d71d343b737d6a90449b06b8
parent5e901a2b95db709c5e40599ff4df6029be1e2a12
blkio-throttle: limit max iops value to UINT_MAX

- Limit max iops value to UINT_MAX and return error to user if value is more
  than that instead of accepting bigger values and truncating implicitly.

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
block/blk-cgroup.c
block/blk-cgroup.h