By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: Linux 6.17 Will Allow Writing Zeroes More Efficiently To SSDs
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > Computing > Linux 6.17 Will Allow Writing Zeroes More Efficiently To SSDs
Computing

Linux 6.17 Will Allow Writing Zeroes More Efficiently To SSDs

News Room
Last updated: 2025/07/29 at 5:56 AM
News Room Published 29 July 2025
Share
SHARE

In addition to the VFS changes merrged yesterday for allowing multi-device file-systems to better cope with losing a disk, another notable change as part of the VFS pull requests for Linux 6.17 allows more efficiently zeroing out a range on modern NVMe SSDs or SCSI drives.

The fallocate changes submitted for Linux 6.17 introduce a new “FALLOC_FL_WRITE_ZEROES” for more efficiently zeroing out an area on modern storage devices. The pull request that was merged on Monday to Linux Git explains:

“fallocate() currently supports creating preallocated files efficiently. However, on most filesystems fallocate() will preallocate blocks in an unwriten state even if FALLOC_FL_ZERO_RANGE is specified.

The extent state must later be converted to a written state when the user writes data into this range, which can trigger numerous metadata changes and journal I/O. This may leads to significant write amplification and performance degradation in synchronous write mode.

At the moment, the only method to avoid this is to create an empty file and write zero data into it (for example, using ‘dd’ with a large block size). However, this method is slow and consumes a considerable amount of disk bandwidth.

Now that more and more flash-based storage devices are available it is possible to efficiently write zeros to SSDs using the unmap write zeroes command if the devices do not write physical zeroes to the media.

For example, if SCSI SSDs support the UMMAP bit or NVMe SSDs support the DEAC bit[1], the write zeroes command does not write actual data to the device, instead, NVMe converts the zeroed range to a deallocated state, which works fast and consumes almost no disk write bandwidth.

This series implements the BLK_FEAT_WRITE_ZEROES_UNMAP feature and BLK_FLAG_WRITE_ZEROES_UNMAP_DISABLED flag for SCSI, NVMe and device-mapper drivers, and add the FALLOC_FL_WRITE_ZEROES and STATX_ATTR_WRITE_ZEROES_UNMAP support for ext4 and raw bdev devices.

fallocate() is subsequently extended with the FALLOC_FL_WRITE_ZEROES flag. FALLOC_FL_WRITE_ZEROES zeroes a specified file range in such a way that subsequent writes to that range do not require further changes to the file mapping metadata. This flag is beneficial for subsequent pure overwriting within this range, as it can save on block allocation and, consequently, significant metadata changes.”

With these patches, in addition to the block subsystem changes and adding the FALLOC_FL_WRITE_ZEROES flag to fallocate, the plumbing work also introduces FALLOC_FL_WRITE_ZEROES support for the EXT4 file-system as a working example.

FALLOC_FL_WRITE_ZEROES

The /sys/block/[disk]/queue/write_zeroes_unmap will indicate for users whether a disk supports the efficient unmap write zeroes operation.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article As Australia’s teen social media ban looms, here’s how the platforms are lobbying for an exemption
Next Article What can you do to remedy it
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

5 Things You Should Never Ask ChatGPT To Do – BGR
News
Anatomy of a Crypto Catastrophe: The Science Behind Terra’s $40 Billion Implosion | HackerNoon
Computing
’28 Years Later’ director Danny Boyle talks iPhone filmmaking
News
DOJ fires two top antitrust officials
News

You Might also Like

Computing

Anatomy of a Crypto Catastrophe: The Science Behind Terra’s $40 Billion Implosion | HackerNoon

14 Min Read
Computing

San Francisco hype and Seattle responsibility: A fresh look at location and language in AI job posts

3 Min Read
Computing

Xtraceroute Ported To GTK4 + Vulkan For Demonstrating The Open-Source Potential For AI

2 Min Read
Computing

EU finds Temu in violation of digital services act over illicit products · TechNode

1 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?