Messages in this thread | | | Subject | Re: O_DIRECT for FAT | From | OGAWA Hirofumi <> | Date | Tue, 15 May 2007 07:41:27 +0900 |
| |
Hubertus Grobbel <hubertus@grobbel.net> writes:
> 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).
EINVAL may be meaning the memory alignment which you passed to syscall is wrong.
> Do you see a way to solve my problem by any workaround? Is O_DIRECT > support for fat-fs feasible in future?
The fatfs is supporting O_DIRECT for read, for write it's partially supporting (can't extend file size). -- OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |