From: Erik Mouw <mouw@nl.linux.org>
To: Hubertus Grobbel <hubertus@grobbel.net>
Cc: Linux List <linux-kernel@vger.kernel.org>
Subject: Re: O_DIRECT for FAT
Date: Tue, 15 May 2007 14:28:19 +0200 [thread overview]
Message-ID: <20070515122819.GK26683@gateway.home> (raw)
In-Reply-To: <200705150103.02398.hubertus@grobbel.net>
[-- Attachment #1: Type: text/plain, Size: 538 bytes --]
On Tue, May 15, 2007 at 01:02:51AM +0100, Hubertus Grobbel wrote:
> 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).
Make sure your buffer is page aligned and read/write in multiples of
the hard block size (use blockdev --getss to figure out).
Erik
--
They're all fools. Don't worry. Darwin may be slow, but he'll
eventually get them. -- Matthew Lammers in alt.sysadmin.recovery
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2007-05-15 12:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-15 0:02 O_DIRECT for FAT Hubertus Grobbel
2007-05-14 22:29 ` Alan Cox
2007-05-14 22:41 ` OGAWA Hirofumi
2007-05-15 12:28 ` Erik Mouw [this message]
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=20070515122819.GK26683@gateway.home \
--to=mouw@nl.linux.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.