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

Re: [PATCH 08/11] streaming_write_entry(): support files with holes

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:51:15

Nguyen Thai Ngoc Duy [off-list ref] writes:
On Mon, May 16, 2011 at 7:30 AM, Junio C Hamano [off-list ref] wrote:
quoted
One typical use of a large binary file is to hold a sparse on-disk hash
table with a lot of holes. Help preserving the holes with lseek().
Should that be done only with big enough holes? Random zeros may
increase the number of syscalls unnecessarily.
I think that is a valid concern, but doesn't the code do that already?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help