GFS2 To Support Hole-Punching With Linux 4.16

Written by Michael Larabel in Linux Storage on 22 January 2018 at 09:33 AM EST. 3 Comments
LINUX STORAGE
The GFS2 file-system with the upcoming Linux 4.16 kernel cycle will add hole-punching support.

Since 2010 the Linux kernel has offered a standardized interface for deallocating file space from within a file, a.k.a. hole punching, and many Linux file-systems have supported this FALLOC_FL_PUNCH_HOLE behavior for fallocate() since the early Linux 3.x days but with Linux 4.16 comes the support for the Global File-System 2. This support for punching holes in files is commonly used for virtual disks by VMs backed by sparse files.

Landing within GFS2's -next Git tree is their FALLOC_FL_PUNCH_HOLE bits as the main feature being added for GFS2 in this next kernel cycle. Their next tree also has an improved non-recursive delete algorithm and other minor code enhancements.
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