Re: [PATCH] hostfs: Use noop_fsync for directories

From: Christoph Hellwig
Date: Wed Jan 14 2015 - 03:40:10 EST


On Tue, Jan 13, 2015 at 11:26:38PM +0100, Richard Weinberger wrote:
> hostfs tries do reduce the amount of syscall between guest and host as much
> as possible. For file operations it passes everything down to the host but
> for directory operations only ->iterate() does.
>
> It is already horrible slow, if we add an ->open() for directory too it would
> get even more slower. :-(

This sounds fairlt dangerous. At least add some good documentation
explaining these semantics.

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