LWN: Comments on "The first part of the 6.15 merge window" https://lwn.net/Articles/1015414/ This is a special feed containing comments posted to the individual LWN article titled "The first part of the 6.15 merge window". en-us Sun, 26 Oct 2025 11:24:39 +0000 Sun, 26 Oct 2025 11:24:39 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net Is self-healing always good? https://lwn.net/Articles/1016363/ https://lwn.net/Articles/1016363/ koverstreet <div class="FormattedComment"> Well, this isn't btrfs - we don't do that.<br> <p> There are cases where fsck will delete things, but for the most part that's only if we have another piece of metadata that says "this shouldn't exist".<br> <p> e.g., extent past the end of an inode - something went wrong with truncate.<br> <p> If a reflink pointer points to a missing indirect extent, we just mark it as poisoned, so on future attempts to read from it we don't have to print out the same error, and we can un-poison it if the indirect extent comes back; this guards against a temporary lookup error in the reflink btree.<br> <p> For the snapshots btree, a key for a snapshot node that doesn't exist generally indicates a problem with snapshot deletion, and the key will be deleted. But we also track when a btree has lost data (topology error, IO error), and if the snapshots btree has lost data we'll instead try to reconstruct snapshot tree nodes (and also subvolume keys, etc.).<br> <p> We can reconstruct inodes if the inodes btree has lost data (permissions, ownership, timestamps etc. will all be wrong, and i_size will be a bit off but you'll still have the correct file contents).<br> <p> This topic is an area of future research, but for all practical purposes we're in good shape.<br> </div> Thu, 03 Apr 2025 13:59:19 +0000 the self healing work continues in bcachefs https://lwn.net/Articles/1016362/ https://lwn.net/Articles/1016362/ koverstreet <div class="FormattedComment"> What's missing in this case?<br> </div> Thu, 03 Apr 2025 13:52:01 +0000 the self healing work continues in bcachefs https://lwn.net/Articles/1016280/ https://lwn.net/Articles/1016280/ DemiMarie <div class="FormattedComment"> Will bcachefs be able to completely recover (no data loss) if all data is present on a quorum of replicas?<br> </div> Thu, 03 Apr 2025 08:06:53 +0000 Is self-healing always good? https://lwn.net/Articles/1016277/ https://lwn.net/Articles/1016277/ DemiMarie Is self-healing always wanted? My concerns are: <ol><li>It could risk trashing good-but-unreachable data, preventing subsequent data recovery operations.</li><li>It could hide errors from userspace, such as by reporting “file definitely does not exist” instead of “I/O error occurred and we don’t know if the file exists”.</li><li>It could recover data that was never actually present, such as freed disk blocks, creating a security concern.</li></ol> If the filesystem can’t tell if file X should be there or not, or is uncertain as to what its contents should be, I would prefer that all attempts to access X fail with something other than <code>-ENOENT</code> until and unless the administrator tells the filesystem to use its best guess of what the pre-corruption situation was, or X is overwritten by an operation that makes that state irrelevant. Silently returning wrong data is the worst possible outcome. Thu, 03 Apr 2025 08:03:52 +0000 the self healing work continues in bcachefs https://lwn.net/Articles/1015898/ https://lwn.net/Articles/1015898/ koverstreet <div class="FormattedComment"> I'm not anti systemd, but no<br> </div> Mon, 31 Mar 2025 04:57:18 +0000 the self healing work continues in bcachefs https://lwn.net/Articles/1015896/ https://lwn.net/Articles/1015896/ jmalcolm <div class="FormattedComment"> Is systemd going to be a requirement for bcachefs?<br> </div> Mon, 31 Mar 2025 04:23:04 +0000 the self healing work continues in bcachefs https://lwn.net/Articles/1015895/ https://lwn.net/Articles/1015895/ koverstreet <div class="FormattedComment"> Not quite :) but anything within the realm of possible, yes. If there's still extents and dirents leaf nodes, we should get you a working filesystem with everything possible intact.<br> <p> We regularly recover from extreme disaster scenarios today - I've been looking at a metadata dump where it looked like a head just skated across the platter, which created some very... particular alloc info inconsistencies, but that's been the only failure to repair in ~6 months, and I've seen logs of some good ones. So that's largely done.<br> <p> Once the mount API extension happens, plus better communication between the mount helper and systemd/plymouth (because of course communicating things to the user has been getting more complicated), we'll even be able to tell the user "hey, your SSD crapped itself (X IO errors, toast btree nodes), please wait while we reconstruct btree roots/alloc/what have you, here's a progress bar"<br> <p> And this stuff is pretty fast, too - post 6.14 that dealt with backpointers check/repair. Even btree node scan is fast thanks to a small bitmap in the superblock, if we lose btree roots.<br> <p> Further off, post experimental, will be finishing off online fsck - and then we'll be able to recover from slightly absurd levels of damage in the background while your filesystem is RW. (People with huge arrays really want this).<br> </div> Mon, 31 Mar 2025 03:09:25 +0000 the self healing work continues in bcachefs https://lwn.net/Articles/1015887/ https://lwn.net/Articles/1015887/ motk <div class="FormattedComment"> True vacuum universe ending events? A bold claim.<br> </div> Sun, 30 Mar 2025 22:59:17 +0000 bcachefs news https://lwn.net/Articles/1015841/ https://lwn.net/Articles/1015841/ alison <div class="FormattedComment"> <span class="QuotedText">&gt; never stop coding :)</span><br> <p> Words to live by!<br> <p> -- Alison<br> </div> Sat, 29 Mar 2025 17:11:04 +0000 bcachefs news https://lwn.net/Articles/1015810/ https://lwn.net/Articles/1015810/ koverstreet <div class="FormattedComment"> never stop coding :)<br> </div> Sat, 29 Mar 2025 05:41:13 +0000 bcachefs news https://lwn.net/Articles/1015809/ https://lwn.net/Articles/1015809/ alison <div class="FormattedComment"> I see that Kent Overstreet is back, assuming that he was ever actually away.<br> </div> Sat, 29 Mar 2025 05:19:50 +0000 the self healing work continues in bcachefs https://lwn.net/Articles/1015808/ https://lwn.net/Articles/1015808/ koverstreet <div class="FormattedComment"> the goal is a filesystem that can recover from /anything/<br> </div> Sat, 29 Mar 2025 05:09:28 +0000 Meticulously undocumented https://lwn.net/Articles/1015782/ https://lwn.net/Articles/1015782/ nijhof <div class="FormattedComment"> Is meticulously undocumented more or less undocumented than rigorously undocumented?<br> </div> Fri, 28 Mar 2025 22:13:18 +0000