摘要 |
A file store for use as a work-in-progress store. Each block in the store is designated as a free block, a data block, or a forget block. When it is required to write data to the file store, a data area is created, by assigning free blocks. When it is required to discard a data area, a forget block is written into the filestore, pointing to the data area, and all the data blocks in that area are freed and added to a free chain. If at least one of the blocks in the data area pointed to by a forget block is reused, the forget block is freed and added to the free chain. The file store has advantages of a serial file organisation while avoiding the garbage collection problems associated with conventional serial files. <IMAGE> |