Re: cache limit

From: J.A. Magallon
Date: Tue Aug 19 2003 - 04:07:17 EST



On 08.19, Andrew Morton wrote:
> Denis Vlasenko <vda@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> >
> > There was a discussion (and patches) in the middle of 2.5 series
> > about O_STREAMING open flag which mean "do not aggressively cache
> > this file". Targeted at MP3/video playing, copying large files and such.
> >
> > I don't know whether it actually was merged. If it was,
> > your program can use it.
>
> It was not. Instead we have fadvise. So it would be appropriate to change

Does this work in 2.4 ?
If not, any patch flying around ?
It would be interesting to have this functionality in 2.4 also so
people can start modifying and teting things like DVD readers, rsync,
updatedb, grep and so on...

I have tested O_STREAMING in 2.4 and it is fine...

TIA

--
J.A. Magallon <jamagallon@xxxxxxx> \ Software is like sex:
werewolf.able.es \ It's better when it's free
Mandrake Linux release 9.2 (Cooker) for i586
Linux 2.4.22-rc2-jam1m (gcc 3.3.1 (Mandrake Linux 9.2 3.3.1-1mdk))
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/