mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Hubertus Grobbel <hubertus@grobbel.net>
Cc: Linux List <linux-kernel@vger.kernel.org>
Subject: Re: O_DIRECT for FAT
Date: Mon, 14 May 2007 23:29:07 +0100	[thread overview]
Message-ID: <20070514232907.09c745f8@the-village.bc.nu> (raw)
In-Reply-To: <200705150103.02398.hubertus@grobbel.net>

> I would like to access on certain files on a flash-disk without cache
> usage, whereas the rest of the filesystem shall be accessed normally/cached.
> I am aware of the previous discussion. My application is not targetting on a 
> pure file usage (I can live with the existing features for that), but also 
> for a side-channel IO to interact with the device. 

Assuming you basically want to be sure writes hit the media you can use
the fsync and fdatasync system calls on modern kernels to ensure your
data is on the media and is flushed when you want it not when the kernel
gets around to it out of boredom.


  reply	other threads:[~2007-05-14 22:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-15  0:02 Hubertus Grobbel
2007-05-14 22:29 ` Alan Cox [this message]
2007-05-14 22:41 ` OGAWA Hirofumi
2007-05-15 12:28 ` Erik Mouw
2007-05-17 16:25   ` Hubertus Grobbel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070514232907.09c745f8@the-village.bc.nu \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=hubertus@grobbel.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®