[Sheepdog] [PATCH v5 06/17] farm: add sha1_file operations
Liu Yuan
namei.unix at gmail.com
Thu Jan 5 04:55:23 CET 2012
On 01/05/2012 05:04 AM, MORITA Kazutaka wrote:
> In addition, do we really need to calculate SHA1 of the content? If
> there are many data objects, updating epoch would take too much time.
Yes, we need SHA1 to name the object, to decide if the content of object
is the same as the other in the snapshot store in order to achieve the
data de-duplication.
Since we have a trunk active list that record the dirty objects, so we
just write back objects those are dirty, not the whole objects in the
working directory.
Thanks,
Yuan
More information about the sheepdog
mailing list