author | Linus Torvalds <torvalds@linux-foundation.org> | |
Fri, 30 May 2008 15:42:16 +0000 (08:42 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 31 May 2008 21:46:57 +0000 (14:46 -0700) | ||
commit | 4c81b03e30d13dbc93ea7071438ef2da0acd4189 | |
tree | 73459678fa41737c15a2957215d51bde97528ddf | tree | snapshot |
parent | d2b3691b61d516a0ad2bf700a2a5d9113ceff0b1 | commit | diff |
Make pack creation always fsync() the result
This means that we can depend on packs always being stable on disk,
simplifying a lot of the object serialization worries. And unlike loose
objects, serializing pack creation IO isn't going to be a performance
killer.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This means that we can depend on packs always being stable on disk,
simplifying a lot of the object serialization worries. And unlike loose
objects, serializing pack creation IO isn't going to be a performance
killer.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-pack-objects.c | diff | blob | history | |
cache.h | diff | blob | history | |
csum-file.c | diff | blob | history | |
csum-file.h | diff | blob | history | |
fast-import.c | diff | blob | history | |
index-pack.c | diff | blob | history | |
pack-write.c | diff | blob | history | |
write_or_die.c | diff | blob | history |