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:
pgpbWUrctuTsm.pgp
Description: PGP signature
- Follow-Ups:
- Re: O_DIRECT for FAT
- From: Erik Mouw <[email protected]>
- Re: O_DIRECT for FAT
- From: OGAWA Hirofumi <[email protected]>
- Re: O_DIRECT for FAT
- From: Alan Cox <[email protected]>
- Re: O_DIRECT for FAT
- Prev by Date: Re: [PATCH] x86-64 highres/dyntick support 2.6.22-rc1-v1
- Next by Date: Re: [PATCH] pcmcia: ppc64 needs 64-bit ioaddr_t
- Previous by thread: [PATCH] usb-storage: Add support for unusual device by Sierra Wireless
- Next by thread: Re: O_DIRECT for FAT
- Index(es):