[6234] in linux-scsi channel archive
Re: Buffering / caching of filesystem
daemon@ATHENA.MIT.EDU (Dietmar Stein)
Wed Mar 31 15:44:17 1999
Date: Wed, 31 Mar 1999 21:58:40 +0200
To: Mathew G Monroe <mmex+@andrew.cmu.edu>, linux-scsi@vger.rutgers.edu,
dstein@phoenixcontact.com
From: dstein2203@t-online.de (Dietmar Stein)
I have not tested it yet but will do it tomorrow - what about mounting
the
device as a device not as a file.
Also the idea - to cache reads and to do writes immediately - sounds
very
good to me. I will send my results on testing it.
By the way: how to implement it? Is there any documentation / howto / or
readme for it?
Dietmar
Mathew G Monroe wrote:
> Excerpts from internet.computing.linux-kernel: 31-Mar-99 Buffering /
> caching of file.. by dstein2203@t-online.de
> > I remember that there was a question for going around the buffer/cache
> of filesy
> > stem in linux a few days ago - I shared the discussion.
> > Advice was given to use raw-devices to have a constant datastream
> without buffer
> > ing/caching - is there any possibility to decrease the cache or to
> switch it off
> > without using raw-devices?
> > I am running kernel 2.0.36 and was told that there is no possibility
> of using ra
> > w-devices so far except on kernelversions above 2.1.131.
> >
>
> Weel I have something like that. I put together a very simple rawfs
> type about a month ago to do some testing on. It basically lets you
> mount a raw device as a file. Reads are cached, yet writes are flsuhed
> immediately to disk.
>
> If people find this interesting it can be found at
> ftp://box.res.cmu.edu/pub/rawfs-1.0.tgz
>
> If people actually find this useful I could spend a couple more hours
> and add a whole list of features. As a note this was designed as a
> kernel module, so it should work with any kernels, including 2.0.x, but
> I have only tried it on 2.1.x and 2.2.x kernels.
>
> Thanks,
> Mathew Monroe
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
> the body of a message to majordomo@vger.rutgers.edu
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu