Changes

Jump to navigation Jump to search
Line 11: Line 11:  
=== Support sparse ghosts ===
 
=== Support sparse ghosts ===
 
   
 
   
 +
 +
When criu dumps processes it also dumps files that are opened by them. It does this by saving file names by which the files are accessible. But sometimes files can have no names. It may happen if a task opened a file and then removed it. To dump this file criu cannot save its name (because the name doesn't exist). Instead criu saves the whole file. This is called "ghost file". Since saving the whole file is very expensive (copying lots of data on disk) criu limits the maximum size of a ghost file. The latter is also not good, because there are "sparse" files, that are large in size, but may be small from the real disk usage perspective. The goal of the task is to support sparse ghost files, i.e. limit the size of the ghost not by its length but by disk usage and when copying the data detect the used blocks and save only those.
 +
 +
 
'''Links:'''
 
'''Links:'''
 
   
 
   

Navigation menu