Title: +038=360.000-OU045T_02-PCD2.m4160 PLS SBC - File system Manual.pdf
Internally to the file system, the compression (recovery of freed block) is automati- cally launched when some criteria are met, e.g. the number of freed blocks is 80% of total number of blocks or when the number of freed blocks is bigger than the number of free blocks if this number is less that 1/4th of the total number of blocks. How- ever, this operation can occur at any time and during this operation, the file system is marked as busy. All calls to the file system CSF will then return the FS_DEVICE_ BUSY code.This CSF can be used by the user to force the compression of the device, even if the previous criteria are not met, e.g. if a file is deleted, the user may want to immediately recover all blocks related to that file.S.File.CompressFS This CSF Performs the compression / recovery for freed blocks of afile system on a given device. This operation is asynchronous and must be executed to check if the file system has been compressed.