write(2) and page cache

From: dmi p
Date: Sun Jul 28 2013 - 14:48:14 EST


Hi,
When I write(2) on a file such that the size of the buffer being
written is less than the page size, and the page is not in the page
cache, does the write syscall block until the page is brought into the
page cache from disk (to modify it and eventually write back), or is
the page reading part async with respect to write?
--
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/