Device Mapper Gets Some Nice Improvements With Linux 5.13

Written by Michael Larabel in Linux Storage on 5 May 2021 at 08:11 PM EDT. Add A Comment
The kernel's Device Mapper (DM) code with Linux 5.13 has some improvements worth mentioning this cycle.

DM-Integrity, which via emulating a block device allows for storing additional integrity information, TRIM/DISCARD is now used to avoid needlessly rewriting of metadata. Additionally, DISCARD is also used to improve hash re-calculation.

Linux 5.13's Device Mapper code also has better scalability of the device hash by making use of rbtree, improved persistent data performance for non-x86 platforms, and removal of DM RAID DISCARD limits for RAID0/RAID10 now that MD has optimized DISCARD handling.

There are also a variety of smaller bug fixes and low-level code improvements.

More details on the DM changes for Linux 5.13 via this merge.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of 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 automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via

Popular News This Week