Re: [PATCH][RF C/T/D] Unmapped page cache control - via boot parameter

From: Christoph Hellwig
Date: Wed Mar 17 2010 - 12:59:35 EST


On Wed, Mar 17, 2010 at 06:53:34PM +0200, Avi Kivity wrote:
> Meanwhile I looked at the code, and it looks bad. There is an
> IO_CMD_FDSYNC, but it isn't tagged, so we have to drain the queue before
> issuing it. In any case, qemu doesn't use it as far as I could tell,
> and even if it did, device-matter doesn't implement the needed
> ->aio_fsync() operation.

No one implements it, and all surrounding code is dead wood. It would
require us to do asynchronous pagecache operations, which involve
major surgery of the VM code. Patches to do this were rejected multiple
times.

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