Cisco proposes Puzzlefs, a new file system aimed at bypassing restrictions that arise with the use of container images in OCI format. Puzzlefs, implemented in the form of a Linux nucleus module written in Rust, utilizes isolated containers continuing to develop the ideas proposed in Atomfs. The project is in its prototype stage, supporting assembly with the Linux Rust-Next nucleus branch and is open under the Apache 2.0 and Mit licenses.
Puzzlefs solves problems such as effective storage of duplicate data, direct mounting, repeated assembly of container images, and safe memory work. The algorithm of Fastcdcdc is used for deduplication, utilizing fragments of arbitrary size and conducting the index with the hashes of processed fragments. To store the repeated fragments once and index them jointly for all layers of the Federal Assembly, Deduplication can cover different points of mounting.
Reassembling container images is achieved through the determination of the canonical representation of the format of the images of containers. Direct mounting allows mounting of container images in the OCI format from the joint storage without unpacking and using the contents of the contents from the container manifesto as the identifier. The FS-RERITY mechanism checks compliance of the Hash binary index with actual contents, verifying data integrity in the conditions of general storage.
The Rust language was selected for the Puzzlefs nucleus module to reduce the risk of vulnerabilities caused by problems like an appeal to the memory area after it is released and to create a single secure implementation. Other goals of the project include fast assembly and mounting of images, using an optional intermediate stage for converting, optionality of full passes for FS wood in the MTREE style, imposition of changes in the CASYNC style, and an easy-to-implement architecture.