Re: [PATCH 08/11] streaming_write_entry(): support files with holes
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- May 16, 2011, 10:53 UTC
- Message-ID
- <BANLkTi=VKb44yYuXdKLxrvFCVkfsDZSb4Q@mail.gmail.com>
- In-Reply-To
- <1305505831-31587-9-git-send-email-gitster@pobox.com>
On Mon, May 16, 2011 at 7:30 AM, Junio C Hamano <gitster@pobox.com> wrote:
> 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.
-- Duy