[libvirt] [PATCH] change blkiotune weight range min from 100 to 10
jtomko at redhat.com
Thu Jul 24 13:31:53 UTC 2014
On 07/24/2014 02:03 PM, Martin Kletzander wrote:
> This reflects the same change made in kernel commit df457f845e (before
> v2.6.38-rc7). On the rare occasion when the user would try setting
> the weight to value in range <10, 100) on older kernel, we will error
> out with EINVAL properly. Modifying the error message (adding a hint
> for example) would cause weird logs, especially without stacked error
> messages (I couldn't resist mentioning it again).
> There is no (easy) way of getting the limits from kernel, since it's
> not exposed.
I think removing the limit checks from libvirt, as was done for ranges
specified via XML, would be a nicer fix:
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: OpenPGP digital signature
More information about the libvir-list