lkml.org 
[lkml]   [1998]   [Aug]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: DEVFSv50 and /dev/fb? (or /dev/fb/? ???)
On Wed, Aug 05, 1998 at 06:21:33PM +1200, Chris Wedgwood wrote:
> > You mean like...
> >
> > c0b0t0u0p1 and rc0b0t0u0p1? This would be better WITH DevFS, than
> > without...
>
> Its got nothing to do with devFS. Its means I want to RW to a device
> without the buffer cache getting in the way.
>
> For many applications, this is a bad thing - but for large database
> which maintain their own caches, etc. it can be a big win.

There is an other option.
The caching can still be done by the kernel buffers, but we could change
them a bit so there is a new style of write() which does the following:
start an asynchronous write of the data.

then we can do some more writes and check occasionally with a function
like is_it_written which returns immediately with 0 for this has been
written to disk or nonzero for this has not been written to disk.

If the application wants to force the writing later on it still can do
sync to force writing.

greetings
Ulrik De Bie

-
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.altern.org/andrebalsa/doc/lkml-faq.html

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