[lkml]   [1997]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
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...


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