Re: [PATCH 1/2] Make pack creation always fsync() the result

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Sat, 31 May 2008, Frank Ch. Eigler wrote:
> 
> If you stabilize the outputs of the pack procedure rather than its
> inputs, this makes me wonder if ordinary unpacked git objects would
> also need some sort of fsync treatment.

No, see the earlier discussion about the difference between "old" and 
"new" objects.

Pack-files can contain old objects that were _previously_ stable, so we 
need to make sure that they are at least as stable as the objects they 
replace. In contrast, new loose objects never replace old data, so they 
can always be re-created by just re-doing the git operation.

		Linus
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux