[dm-devel] [PATCH] fix default IO restrictions

Christophe Saout christophe at saout.de
Mon Jan 26 13:57:02 UTC 2004


Am Fr, den 23.01.2004 schrieb Mike Christie um 06:48:

> Becuase dm-table combines low against the default values, if all the 
> devices in the table had IO restriction values greater than what is set 
> in set_default_limits,

I don't think that will happen. The values are already the allowed
maximum values. Or am I wrong?

> The attached patch fixes this by setting the initial defaults to 
> unrealistic values, so the first added device will reset them.

If the table isn't backed by a real device (like if it only contains an
error target) the resulting queue will use those "unrealstic" values
that exceed the system-wide limits. And a hardsect size of 0 bytes...






More information about the dm-devel mailing list