Messages in this thread | | | Date | Tue, 19 Nov 2002 15:18:44 -0800 | From | Andrew Morton <> | Subject | Re: [patch] remove magic numbers in block queue initialization |
| |
Robert Love wrote: > > Andrew, > > Your less-requests patch signaled a way-too-many magic numbers alarm > (not the patches fault, of course, but it pointed it out). > > Attached patch removes the minimum queue length, maximum queue length, > factor of queue length that is number of batch requests, and the maximum > number of batch request magic numbers and replaces them with defines and > some comments. > > Look OK? >
Spose so. Sometime soon these need to be per-queue rather than global, and set to intelligent defaults by the driver and runtime tunable via files in /whereveritsmounted. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |