[lkml]   [2001]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Unresponiveness of 2.4.16
Mike Fedyk wrote:
> > echo file_readahead:N > /proc/ide/ide0/hda/settings
> >
> > where N is in kilobytes in 2.4.16 kernels.
> Any idea which drivers it will/won't work on? ie, "almost all ide" or
> "almost none of the ide driers"?

It appears that all IDE is controlled with /proc/ide/ide0/hda/settings

> >In earlier kernels
> > it's kilopages (!).
> Isn't this part of the max-readahead patch?

No, that fix went in separately. Roger Larsson created it, then
I hit the same problem and forwarded Roger's patch to the relevant

> Does /proc/sys/vm/max_readahead affect scsi in any way?

Well, `grep -r max_readahead drivers/scsi' comes up blank,
so it looks like the scsi drivers don't implement the
driver-specific readhead tunable, and so they will fall back
to the /proc/sys/vm/max_readahead global. I guess.

> What layer does /proc/sys/vm/max_readahead affect? Block? FS?

The generic filesystem library code. The bit which sits
on top of the block layer and gets its block mappings from the
filesystem and does generic_file_readahead(). Variously
referred to as VFS or VM. It's neither, and both, really.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:18    [W:0.047 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site