Re: nocache option for mount?

From: Marcelo de Paula Bezerra (mosca@roadnet.com.br)
Date: Sun Apr 16 2000 - 16:00:59 EST


That is why people have been asking for madvise and fadvise here, this way
you make you program tell the kernel the usage pattern it will use, but I
don't know if it has been implemented, I would think so...

On Sun, 16 Apr 2000, German Jose Gomez Garcia wrote:

> Hello,
>
> I would like to know if there is any way to make a filesystem non
> cacheable, that is the kernel doesn't cache any data read from it. I think it
> could be implemented as an option for mount, and it would be very usefull
> when you are transfering large amount of data from one filesystem to another
> (well, maybe the basic structure of the filesystem should be cacheable
> always, but no the real data).
> For example when you are burning CDs, the ISO images are only used
> one (or even when they are used more than one usually they don't fit in
> the cache), but the kernel try to cache them, even when it has to
> paginate everything elese out of the physical memory, using this nocache
> option you could avoid this.
>
> More ideas and suggestions are welcome.
>
> - german
>
> PS: If it is already implemented please point me in the right direction,
> after looking through the man pages for latest mount and tune2fs I found
> nothing similar.
>
> <>-------------------------------------+-----------------------------------<>
> One O.S. to rule them all, | German Gomez Garcia
> One O.S. to find them. | german@pinon.ccu.uniovi.es
> One O.S. to bring them all |
> and in the darkness bind them. | "Wur Qanar Wur Stilor Wur Kas"
> <>-------------------------------------+-----------------------------------<>
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Apr 23 2000 - 21:00:09 EST