Thread (52 messages) flat view 52 messages, 14 authors, 2016-06-15

Re: [PATCH] write-tree performance problems

From: Linus Torvalds <torvalds@osdl.org>
Date: 2016-06-15 22:41:53


On Tue, 19 Apr 2005, Chris Mason wrote:
Regardless, putting it into the index somehow should be fastest, I'll see what 
I can do.
Start by putting it in at "read-tree" time, and adding the code to
invalidate all parent directory indexes when somebody changes a file in
the index (ie "update-cache" for anything but a "--refresh").

That would be needed anyway, since those two are the ones that already
change the index file.

Once you're sure that you can correctly invalidate the entries (so that
you could never use a stale tree entry by mistake), the second stage would
be to update it at "write-tree" time.

		Linus
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help