mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Hubertus Grobbel <hubertus@grobbel.net>
To: Linux List <linux-kernel@vger.kernel.org>
Subject: O_DIRECT for FAT
Date: Tue, 15 May 2007 01:02:51 +0100	[thread overview]
Message-ID: <200705150103.02398.hubertus@grobbel.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 723 bytes --]

Hi,

I found out, that the option O_DIRECT for opening a file on a fat-
filesystem successfully completes. But reading and writing to that
file leads to EINVAL errors (using kernel 2.6.18).

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. 

Do you see a way to solve my problem by any workaround? Is O_DIRECT
support for fat-fs feasible in future?

Grateful for any response.

Thanks in advance
Hubi

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-15  0:02 Hubertus Grobbel [this message]
2007-05-14 22:29 ` Alan Cox
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=200705150103.02398.hubertus@grobbel.net \
    --to=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®