[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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...





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]