Re: [RFC] VFS: File System Mount Wide O_DIRECT Support

From: Christoph Hellwig
Date: Tue Sep 04 2012 - 06:58:09 EST


On Tue, Sep 04, 2012 at 06:17:47PM +0800, Li Wang wrote:
> For file system created on file-backed loop device, there will be two-levels of
> page cache present, which typically doubles the memory consumption.

And the right fix is to not use buffer I/O on the backing file instead
of hacks like this.

--
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/