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 Let Multi-Device Filesystems Better Cope With Losing A Disk
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 Let Multi-Device Filesystems Better Cope With Losing A Disk
Computing

Linux 6.17 Will Let Multi-Device Filesystems Better Cope With Losing A Disk

News Room
Last updated: 2025/07/28 at 8:50 PM
News Room Published 28 July 2025
Share
SHARE

The VFS changes were merged a short time ago to the in-development Linux 6.17 kernel. Among the notable changes there is a patch that will allow file-systems like Btrfs and Bcachefs to better handle losing a disk in their built-in RAID/multi-device capabilities.

A new method is being introduced in Linux 6.17 to allow multi-device file-systems like Btrfs with its native/built-in RAID capabilities to be informed when a block device is removed. Btrfs, for example, can handle surprise device (disk) removal but the existing Linux kernel handling doesn’t cope well. File-systems implementing the “shutdown” call can not allow losing a device and end up shutting down the whole file-system.

Multiple disk drives removed

Qu Wenruo of SUSE explains with the queued patch:

“Currently all filesystems which implement super_operations::shutdown() can not afford losing a device.

Thus fs_bdev_mark_dead() will just call the ->shutdown() callback for the involved filesystem.

But it will no longer be the case, as multi-device filesystems like btrfs and bcachefs can handle certain device loss without the need to shutdown the whole filesystem.

To allow those multi-device filesystems to be integrated to use fs_holder_ops:

– Add a new super_operations::remove_bdev() callback

– Try ->remove_bdev() callback first inside fs_bdev_mark_dead() If the callback returned 0, meaning the fs can handling the device loss, then exit without doing anything else.

If there is no such callback or the callback returned non-zero value, continue to shutdown the filesystem as usual.

This means the new remove_bdev() should only do the check on whether the operation can continue, and if so do the fs specific handlings. The shutdown handling should still be handled by the existing ->shutdown() callback.

For all existing filesystems with shutdown callback, there is no change to the code nor behavior.

Btrfs is going to implement both the ->remove_bdev() and ->shutdown() callbacks soon.”

That new support was merged today to Linux 6.17 via this pull request.

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 Waymo to dispatch robotaxis in Dallas next year
Next Article PayPal will let merchants accept 100+ new cryptocurrencies, including DOGE and Trump memecoin
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

Your Next Yelp Reviews May Include an AI Video — With a Catch
News
Layoffs hit CNET as its parent company goes on a buying spree
News
Wall Street research firm surpisingly says that this foundry is the only alternative to TSMC
News
RealGo Launches Global Public Beta: A Groundbreaking Fusion of AR, AI, Meme Culture, and Web3 | HackerNoon
Computing

You Might also Like

Computing

RealGo Launches Global Public Beta: A Groundbreaking Fusion of AR, AI, Meme Culture, and Web3 | HackerNoon

10 Min Read
Computing

Blue Origin sets the date for controversial crypto billionaire’s $28M trip to space

6 Min Read
Computing

Mesa 25.2-rc3 Released With RADV Vulkan Video Fixes, NVK Conformance Update

2 Min Read
Computing

Huawei ramps up Mate 70 series production for November launch: report · 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?