lkml.org 
[lkml]   [2004]   [May]   [26]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 26 May 2004 11:53:51 +0200
FromOlaf Hering <>
SubjectRe: very low performance on SCSI disks if device node is in tmpfs
 On Tue, May 25, Andrew Morton wrote:

> Andrew Morton <akpm@osdl.org> wrote:
> >
> > Everything there is consistent with "not doing readahead".
> >
> 
> 
> 
> We need to set file->f_ra _after_ calling blkdev_open(), when inode->i_mapping
> points at the right thing.  And we need to get it from
> inode->i_mapping->host->i_mapping too, which represents the underlying device.

That fixed it, thanks for the patch and the award!
I will take the patch and pass the award to the guy who found the bug.

-- 
USB is for mice, FireWire is for men!

sUse lINUX ag, nÜRNBERG
-
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/

\
 
 \ /
  Last update: 2005-03-22 14:03    [from the cache]
©2003-2008