A
system can create a first, persistent,
data structure that indicates a location of an ingested file within a log filesystem. The
system can, based on not deduplicating the file at ingest, create a second, temporary,
data structure that indicates the location of the file, which comprises a logical backpointer to the file. The
system can perform deduplication after creating the second
data structure, comprising
parsing a chunk descriptor associated with the file to identify the second data structure, identifying any active first virtual mapping structures associated with the file, identifying a deduplicated block associated with the file, updating a leaf mapping block of the file to point to a virtual pointer that identifies data associated with the deduplicated block, based on the logical backpointer of the second data structure, and after
processing any second virtual mapping structures of the chunk, freeing the second data structure.