Thread (1 message) 1 message, 1 author, 2000-06-12

Re: O_SYNC patches for 2.4.0-test1-ac11

From: Jamie Lokier <hidden>
Date: 2000-06-12 13:16:59

Stephen C. Tweedie wrote:
No.  If we do posix_fallocate(), then there are only two choices:
we either pre-zero the file contents (in which case we are as well
doing it from user space), or we record in the inode that the file
isn't pre-zeroed and so optimise things.
3rd choice: preallocate space with room for interleaved indirection
blocks.  You don't need to record anything in the inode: it's the
indirection blocks that get changed as you fill up the file.  And
they're in exactly the right place.

-- Jamie
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help