Paragon is working to integrate its ntfs3 filesystem into the Linux kernel



[ad_1]

Extreme close-up image of hard drive components.
Enlarge / Your hard drives and SSDs are no better than the file system you format them with. Paragon’s ntfs3 driver combines decent performance with a full implementation, a combination that neither the ntfs built into the Linux kernel nor the ntfs-3g mounted on FUSE can claim both halves.

In March of last year, proprietary file system vendor Paragon Software launched an anti-open source FUD feed about a Samsung-derived exFAT implementation in the Linux kernel. Several months later, Paragon seemed to have seen the error in its methods and began the arduous process of obtaining its own implementation of Microsoft’s NTFS (the default file system for all Windows machines) in the kernel as well.

While Paragon is still clearly struggling to align its processes and practices with those compatible with open source, BDFL Linux kernel Linus Torvalds seems to have taken a personal interest in the process. After nearly a year of Paradox’s efforts, Torvalds continues to give Paradox a little push and the skeptical Linux developers to move the project forward.

Why Paragon?

For those familiar with everyday Linux use, the usefulness of Paragon’s NTFS version may not be immediately obvious. The Linux kernel already has an implementation of NTFS, and most distributions make it incredibly easy to install and use another FUSE-based implementation (ntfs-3g) beyond.

The two existing implementations have problems, however. The NTFS kernel implementation is extremely old, poorly maintained, and should only be used read-only. As a result, most people who actually need to mount NTFS file systems on Linux will use the ntfs-3g driver instead.

Ntfs-3g is in fairly good shape – it’s much newer than the ntfs implementation in the kernel, and as Linux filesystem guru Ted Ts’o points out, it actually passes more filesystem tests. automated than Paragon’s own ntfs3.

Unfortunately, due to running in user space rather than the kernel, the performance of ntfs-3g is appalling. In Ts’o’s testing, Paragon’s ntfs3 completed the automated tests in 8,106 seconds, but the FUSE-based ntfs-3g took 34,783 seconds.

Aside from bugs and performance, ongoing maintenance is a key aspect of Paragon’s ntfs3, which makes it integrated into the kernel. Torvalds felt that “Paragon should just do a pull request for [ntfs3]”- but he did so after noting that the code should get OK from the current maintainers and that Paragon itself should maintain the code in the future. (Paragon developer Konstantin Komarov quickly responded that the company had intend to continue to maintain the code, once accepted.)

Why not Paragon?

While Torvalds himself seems positive about integrating Paragon’s ntfs3 driver, as do several other users and developers, there are still concerns about the integration of Paragon and its workflow into the community of Paragon. development of the core and the standards of that community.

Ted Ts’o, who is primarily responsible for maintaining Linux ext3 / ext4 file systems and the e2fsprogs user space utilities used to manage them, appears to be the most critical. In addition to the slightly higher number of failed automated tests he found in Paragon’s code, he notes other issues such as system-wide freezes that appear if ntfs3 is overloaded. (This is a problem we’ve heard over the years from people who have also purchased Paragon’s ntfs3.)

Ts’o also raises questions about maintenance and communication, saying, “I would feel better if * someone * at Paragon Software answered Darrick. [Wong] and my questions about their QA, and / or committed to at least * trying * to resolve issues that about 5 minutes of testing using fstests trivially revealed. “

Fellow developer Darrick Wong added that he wanted to make sure Paragon was invested in maintenance in the future, so that ntfs3 doesn’t “become one of the crappy Linux file system drivers, like [the current in-kernel ntfs]. “

The path to follow

Despite Ts’o and Wong’s skepticism, we generally expect the inclusion of Paragon’s ntfs3 to happen eventually. The company has worked for a year so far to extract its code from 27,000 lines of code thrown over the wall in a Linux-ready patch set – and although lead developer Komarov hasn’t always responded as well. quickly or as completely as Ts’o and Wong prefer, he continues to respond.

For his part, Torvalds seems determined to find a powerful, modern and maintainable replacement for the old (2001 era) ntfs implementation that is rarely used in the kernel now. As long as Paragon remains willing to keep playing, it seems likely that it will eventually get there, maybe even in time for kernel 5.15.

[ad_2]

Source link