Re: [PATCH 2/2] ubifs: Allow O_DIRECT

From: Dongsheng Yang
Date: Mon Aug 24 2015 - 03:23:19 EST


On 08/24/2015 03:18 PM, Artem Bityutskiy wrote:
On Thu, 2015-08-20 at 15:34 +0300, Artem Bityutskiy wrote:
On Thu, 2015-08-20 at 13:40 +0200, Richard Weinberger wrote:
Basically, we need to see what is the "common practice" here, and
follow it. This requires a small research. What would be the most
popular Linux FS which does not support direct I/O? Can we check
what
it does?

All popular filesystems seem to support direct IO.
That's the problem, application do not expect O_DIRECT to fail.

My intention was to do it like exofs:

Fair enough, thanks!

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@xxxxxxxxx>

Richard, you mention this was suggested by Dave, could you please pint
to the discussion, if possible?

http://lists.infradead.org/pipermail/linux-mtd/2015-August/060702.html

That's in a discussion I want to introduce ubifs into xfstests.

Yang

Artem.
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/