Messages in this thread | | | Date | Tue, 23 Feb 2010 13:25:27 +1100 | From | Dave Chinner <> | Subject | Re: [PATCH v2] Make VM_MAX_READAHEAD a kernel parameter |
| |
On Sun, Feb 21, 2010 at 10:26:00PM +0800, Wu Fengguang wrote: > Nikanth, > > > > > + readahead= Default readahead value for block devices. > > > > + > > > > > > I think the description should define the units (kb) and valid value > > > ranges e.g. page size to something not excessive - say 65536kb. The > > > above description is, IMO, useless without refering to the source to > > > find out this information.... > > > > > > > The parameter can be specified with/without any suffix(k/m/g) that memparse() > > helper function can accept. So it can take 1M, 1024k, 1050620. I checked other > > parameters that use memparse() to get similar values and they didn't document > > it. May be this should be described here. > > Hope this helps clarify things to user: > > + readahead=nn[KM] > + Default max readahead size for block devices. > + Range: 0; 4k - 128m
Yes, that is exactly what I was thinĸing of. Thanks.
Cheers,
Dave. -- Dave Chinner david@fromorbit.com -- 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/
| |