Re: [patch] `cp /dev/zero /tmp' (patch against 2.2.9)

Stephen C. Tweedie (sct@redhat.com)
Fri, 18 Jun 1999 19:12:23 +0100 (BST)


Hi,

On Fri, 18 Jun 1999 00:20:36 -0700 (PDT), Linus Torvalds
<torvalds@transmeta.com> said:

> The interesting areas are things like

> - fsync(). It doesn't work right now, but it should be easy to make it
> work well on big files etc - something we've never been able to do
> before (we used to lack the indexing from file to dirty blocks: now we
> have access to that quite automatically thanks to having the
> inode-> page index in place, and the dirty blocks are right there)

I'll merge in the new fsync code. I'm not sure I'll bother using the
inode page list: it doesn't deal with metadata, so we still need a
separate per-inode dirty buffer list anyway. Given that, it may turn
out to be simpler just to use that one list for all the dirty blocks.

Once that's back in, restoring the O_SYNC in ext2_file_write becomes
really trivial.

--Stephen

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/