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: Bcachefs Patches Aim For Faster Snapshot Deletion But With Another On-Disk Format Update
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 > Bcachefs Patches Aim For Faster Snapshot Deletion But With Another On-Disk Format Update
Computing

Bcachefs Patches Aim For Faster Snapshot Deletion But With Another On-Disk Format Update

News Room
Last updated: 2025/05/04 at 6:34 AM
News Room Published 4 May 2025
Share
SHARE

In addition to Bcachefs working on better self-healing / automatic repair capabilities, this modern copy-on-write file-system is also working on faster snapshot deletion performance. A patch series was posted this week to speed-up the deletion of snapshots though it comes with another bump to the on-disk format of the file-system.

Bcachefs lead developer Kent Overstreet posted the patch series on Friday for improving the snapshot deletion code. He explained with the patch series:

“Snapshot deletion performance has been reported to be an issue, so this patch series should address that.

The important optimization relies on the fact that if an extent/dirent/xattr exists, a version of that inode must exist in that specific snapshot. We can that to avoid a lot of scanning.

Previously only fsck relied on this, so it would spit out a warning and correct the issue in its in memory data structures if this occurred. Now, it’s turned into a proper fsck_err() with on-disk repair if detected.

We also want some additional safety with this: if snapshot deletion ever screws up and doesn’t delete all the keys it was supposed to, we want to be able to automatically repair.

So there’s a new on disk format version with an incompatible (i.e. must be expliticly enabled) feature, where we never delete snapshot keys – we just mark them as deleted.

This allows fsck to differentiate between “key for deleted snapshot, I know how to repair this” vs. “key for missing snapshot, we’re not sure what happened and someone should probably take a look”.

And snapshot deletion status is now present in sysfs, currently with btree and position in that btree. We do have per-snapshot-id accounting, so it might be possible to turn that into a proper progress indicator later.”

So faster deleting of Bcachefs snapshots but does require an incompatible on-disk format that must be enabled. Bcachefs has been working to settle down changes around its on-disk format and aimed for it to be “soft frozen” in Linux 6.15 ahead of eventually removing the experimental flag on the file-system.

These snapshot deletion patches are now under review for Bcachefs, we’ll see if they are ready to go with the upcoming v6.16 merge window.

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 Don’t Miss This Apple Deal: Swipe $130 Off the Award-Winning iPad 9th Gen
Next Article 'MobLand' Release Schedule: How to Watch Episode 6 of the Tom Hardy Series
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

Best Budget Smartwatches: Top Cheap Picks
News
Linux 6.16 Adds Support For Intel PMC SSRAM Telemetry For Lunar Lake + Panther Lake
Computing
Pixel 10 will use two camera sensors to improve macro photography
News
This Microsoft Surface Is Under $200 and Makes a Great School Laptop
News

You Might also Like

Computing

Linux 6.16 Adds Support For Intel PMC SSRAM Telemetry For Lunar Lake + Panther Lake

2 Min Read
Computing

China calls on the Netherlands to uphold market principles amid new Dutch export controls on chip-making equipment · TechNode

1 Min Read
Computing

The Growth of Space Electronics: Market Trends and Patent Landscape | HackerNoon

7 Min Read
Computing

Geely, Volvo joint brand launches first all-electric model · TechNode

2 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?