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

Mike Christie michaelc at cs.wisc.edu
Fri Jan 23 14:37:01 UTC 2004


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, the table's, target's, and DM queue's values will 
never get updated.

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

The patch was made against 2.6.0-udm5.

Mike
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: io_restrictions.patch
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20040123/dcfc90a7/attachment.ksh>


More information about the dm-devel mailing list