Re: [PATCH 07/17] vfs: Introduce new helpers for syncing afterwriting to O_SYNC file or IS_SYNC inode

From: Christoph Hellwig
Date: Fri Aug 21 2009 - 11:32:42 EST


On Fri, Aug 21, 2009 at 05:23:39PM +0200, Jan Kara wrote:
> Hmm, I can imagine it would buy us something in two cases (but looking at
> the code, neither is implemented in such a way that it would really help
> us in any way):
> 1) when an inode and it's data are stored in one block (e.g. OCFS2 or UDF) do
> this.

> In the first case we would wait for block with data to be written only to
> submit it again because inode was still dirty.

But we would not actually store in the pagecache or at least never
writeback it via the pacache in that case, but always just write it as
part of the inode.

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