DM VDO "Virtual Data Optimizer" Merged For Linux 6.9

Written by Michael Larabel in Linux Storage on 13 March 2024 at 03:27 PM EDT. 24 Comments
LINUX STORAGE
As a follow-up to the article earlier this month around DeviceMapper's Virtual Data Optimizer (VDO) preparing to be upstreamed, it was successfully merged today by Linus Torvalds as the newest shiny feature of Linux 6.9.

DM VDO provides inline dedupication, compression, zero block elimination, thin provisioning, and other features. It's already production-grade with being in-use for years outside of the mainline Linux kernel. Its development began at Permabit more than one decade ago and then open-sourced seven years ago after Red Hat acquired Permabit. It's been a long time coming but it's finally mainline!

Today's Git merge of DM VDO further explains:
Introduce the DM vdo target which provides block-level deduplication, compression, and thin provisioning.
...
The DM vdo target handles its concurrency by pinning an IO, and subsequent stages of handling that IO, to a particular VDO thread. This aspect of VDO is "unique" but its overall implementation is very tightly coupled to its mostly lockless threading model. As such, VDO is not easily changed to use more traditional finer-grained locking and Linux workqueues.
...
The DM vdo target has been used in production for many years but has seen significant changes over the past ~6 years to prepare it for upstream inclusion. The codebase is still large but it is isolated to drivers/md/dm-vdo/ and has been made considerably more approachable and maintainable.

The DM VDO user-space tools meanwhile are available on GitHub. It will be interesting to see if there's an uptick in DM VDO adoption now that the big feature is finally mainline.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week