linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* raw aio write guarantee
@ 2005-09-28  7:12 iodophlymiaelo
  2005-09-28  7:57 ` Valdis.Kletnieks
  0 siblings, 1 reply; 6+ messages in thread
From: iodophlymiaelo @ 2005-09-28  7:12 UTC (permalink / raw)
  To: linux-kernel

Hi all,

Just a quick question: How can a user-mode application ensure that an
AIO write on a raw block device (i.e. open()ed with O_DIRECT) has
really -really- been written to the disk and not residing in an on-disk
write cache where it could be lost in case of a power failure? Is
physical write guaranteed to have taken place before the AIO
completion? Or is there a system call that sends a cache flush
command to the drive (and waits for the drive to commit)?

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-09-28 20:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-28  7:12 raw aio write guarantee iodophlymiaelo
2005-09-28  7:57 ` Valdis.Kletnieks
2005-09-28  8:56   ` iodophlymiaelo
2005-09-28  9:23     ` Valdis.Kletnieks
2005-09-28 16:42       ` iodophlymiaelo
2005-09-28 20:13         ` Kyle Moffett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).