MooseFS 4.58.0 Released – What’s New
MooseFS 4.58.0 completely redesigns directory caching to handle millions of files without straining the master, adds a listxattr cache that smooths out Samba workloads, fixes a CRC calculation bug on ARM, and resolves NBD device loss after system sleep or hibernate.
Smarter Directory Handling
Previous support for partial directory reads caused unnecessary strain when working with directories containing millions of files. The Master Server now handles efficient partial reads while clients read directories incrementally. Directory caching has been completely redesigned, and a new mfsreaddirplusminto option was introduced to optimize commands like ls -al for massive file sets.
Performance Optimizations
Extended attribute listings now feature a listxattr cache, which delivers smoother performance in scenarios such as Samba mounts. A CRC calculation bug affecting ARM architectures with unaligned memory access restrictions was resolved. Chunkservers no longer perform unnecessary checksum reads before scrub decisions, enabling idle disk spindown and reducing power consumption.
Packaging, Tools, and Service Management
Postinstall scripts have been corrected to avoid permission conflicts when reinstalling MooseFS on systems that already have the mfs user configured. The mfscli tool now displays chart data correctly in interactive mode. For systemd environments, Chunkserver service startup scripts’ definitions now include proper start and stop timeouts for cleaner shutdowns on multi-disk systems.
Network Block Device Fix
This release addresses a community-reported issue with Network Block Device (NBD). Users had experienced problems restoring NBD devices after sleep or hibernate, but MooseFS 4.58.0 resolves this issue.