lkml.org 
[lkml]   [1997]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Raw devices (Was:Re: NTFS, FAT32, etc.)
> O_SYNC gives synchronous writes but using O_SYNC is not the same
> as having raw devices. Raw device writes skip the buffer cache
> but may or may not be completed before return depending whether
> the kernel uses an intermediate buffer or not.

Now it's getting weird. So you are saying that the kernel might have
an extra internal buffer, which is not counted as buffer cache for
raw devices (this sounds like a terminology issue: any internal buffer
of the kernel for writing could be considered a 'cache').
Anyway, so raw devices do *not* guarantee IO finalization, which means
that in case of a crash, data written to a raw device might get lost?
This does not sound like a very usefull device...

Thanks,
Martin

\
 
 \ /
  Last update: 2005-03-22 13:39    [from the cache]
©2003-2011 Jasper Spaans