Western Digital develops new Linux file system “Zonefs”

In recent years, from the RISC-V architecture to storage enhancements, Western Digital has made a greater contribution to the Linux kernel. The latest code it has been working on in recent weeks is the new Linux file system.

However, the new Western Digital product is not intended to be a universal file system that competes with EXT4, Btrfs, XFS, and ZFS on Linux. This new file system, Zonefs, is suitable for special use cases and runs on block devices.

Western Digital’s Damien Le Moal described Zonefs as saying, “zonefs is not a POSIX-compatible file system. Its purpose is to simplify the use of block device support in applications by replacing raw block device file access with APIs based on more feature-rich files. Implementation, avoid relying on direct block device file ioctl.

Western Digital develops new Linux file system "Zonefs"
Western Digital develops new Linux file system “Zonefs”

An example of this approach is to allow SSTables to be stored in a zone file similar to a regular file system, instead of being stored as a sector range of a partition device, thereby Implement a log-structured merge (LSM) tree structure on block devices (for example, used in RocksDB and LevelDB). The introduction of a higher-level structure “one file is one zone” can help reduce the amount of changes required in the application, while Allows the use of block devices with programming languages ​​other than C. “

In fact, Western Digital has been investing heavily in partitioned storage to allow the use of larger-capacity, economical devices. More background information on partition storage can be found on the Western Digital blog .

Currently, their proposed Zonefs file system contains only about 1500 new lines of code.

Must Check:

Source: 1, 2