open command fails in UBIFS when pass O_DIRECT Flag

Adrian Hunter adrian.hunter at
Thu Jul 16 01:55:06 EDT 2009

Jon Fraser wrote:
> Is this planned for the future?

Not at the moment.

> Is there any technical reason that prevents implementing direct IO?

Not that I can think of.  But memory mapping is probably better and
that is supported.

> Jon Fraser
> Broadcom
> On Wed, 2009-07-15 at 01:05 -0700, Adrian Hunter wrote:
>> naveen yadav wrote:
>>> I am using UBIFS file system, and i am able to read/write.
>>> But when i use O_DIRECT flag it fails in open command. will you pls
>>> let me know is it issue with UBIFS.
>> UBIFS does not support direct I/O, sorry.
>> ______________________________________________________
>> Linux MTD discussion mailing list

More information about the linux-mtd mailing list