https://www.phoronix.com/news/XFS-Patch-For-Linux-6.3 Phoronix * Articles & Reviews * News Archive * Forums * Premium * Categories * Computers * Display Drivers * Graphics Cards * Linux Gaming * Memory * Motherboards * Processors * Software * Storage * Operating Systems * Peripherals * Close * * Articles & Reviews * News Archive * Forums * Premium * Contact * Categories Computers Display Drivers Graphics Cards Linux Gaming Memory Motherboards Processors Software Storage Operating Systems Peripherals * [ ] [Search] Show Your Support: This site is primarily supported by advertisements. Ads are what have allowed this site to be maintained on a daily basis for the past 18+ years. We do our best to ensure only clean, relevant ads are shown, when any nasty ads are detected, we work to remove them ASAP. If you would like to view the site without ads while still supporting our work, please consider our ad-free Phoronix Premium. XFS Metadata Corruption On Linux 6.3 Tracked Down To One Missing One-Line Patch Written by Michael Larabel in Linux Storage on 29 May 2023 at 08:51 AM EDT. 7 Comments LINUX STORAGE Last week XFS users began encountering metadata corruption on the latest Linux 6.3 point releases. Following kernel developers and those testing the kernels on affected hardware over the US holiday weekend, it's believed the issue has been tracked down to one missing patch that is a one line of code being deleted. XFS developer Dave Chinner at Red Hat suggested on Saturday trying this patch on the Linux 6.3 kernel for those plagued by this XFS metadata corruption problem. Chinner commented, "This is a bug fix that we thought just fixed a livelock on stripe aligned filesystems. I'm guessing that in certain circumstances instead of livelocking on repeated failed allocations, it results in a broken mapping being returned to the writeback code and hence misdirecting the writeback IO." Linux 6.3 XFS patch for fix But it turns out this patch fixes the problem even for those not using XFS stripes. Patching Linux 6.3 with that one line of code deletion resolved the XFS issues for two affected individuals. Rune Kleveland who had been active in dealing with this issue commented, " [this build] has been stable for 90 minutes on the same type of hardware that all the other 6.3 kernels crashed within a couple of minutes after boot. So this seems to fix the issue for me." Linux 6.3 builds with this patch included are on their way to the Fedora 37 and 38 testing repositories. This patch should also work its way into a new upstream Linux 6.3 point release in the coming days. 7 Comments Tweet [INS::INS] Related News Those Using The XFS File-System Will Want To Avoid Linux 6.3 For Now IBM Baking Some Nice Optimizations To EXT4's Multi-Block Allocator Bcachefs Submitted For Review - Next-Gen CoW File-System Aims For Mainline Rust Null Block Driver Published To Begin Experimenting With Rust For Linux Storage Linux 6.4 Lands Concurrent I/O Performance Optimizations For Device Mapper EROFS Receives Some Useful Improvements With Linux 6.4 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 LLVM's libc Gets Much Faster memcpy For RISC-V Podman Desktop 1.0 Released As An Alternative To Docker Desktop Those Using The XFS File-System Will Want To Avoid Linux 6.3 For Now Intel Arc Graphics A750/A770 Quick Linux Competition With The Radeon RX 7600 Arch Linux Completes Its Git Migration System76 Virgo Aims To Be The Quietest Yet Most Performant Linux Laptop Cloudflare Launches New Open-Source Software Sponsorship Program RADV Driver Lands More Vulkan Overhead Reduction Optimizations Latest Linux News System76 Virgo Aims To Be The Quietest Yet Most Performant Linux Laptop XFS Metadata Corruption On Linux 6.3 Tracked Down To One Missing One-Line Patch Intel Posts Latest 113 Patches For Linux KVM TDX Support GCC 11.4 Released With 110+ Bugs Fixed Arm Details The Cortex-X4 With +15% Performance, Armv9.2 ISA Linux 6.4-rc4 Released As A "Fairly Normal" Release Vulkan 1.3.251 Released With One New Extension Worked On By Valve, Nintendo & Others Linux Lands Fix For Potentially Bogus Number Of Intel Hybrid CPU HT Siblings Wine-Staging 8.9 Ships With The Very Latest VKD3D Code Debian 12.0's Installer Reaches RC4 Status Show Your Support, Go Premium Phoronix Premium allows ad-free access to the site, multi-page articles on a single page, and other features while supporting this site's continued operations. Latest Featured Articles AMD Radeon RX 7600 Linux Performance Intel Provides AI-Accelerated HPC Update For ISC 2023 NVIDIA R530 vs. AMD Linux 6.3 + Mesa 23.2-dev Gaming Performance Ampere Computing Announces AmpereOne With Up to 192 Cores Per Socket System76 Pangolin Makes For A Nice All-AMD Linux Laptop Support Phoronix The mission at Phoronix since 2004 has centered around enriching the Linux hardware experience. In addition to supporting our site through advertisements, you can help by subscribing to Phoronix Premium. You can also contribute to Phoronix through a PayPal tip or tip via Stripe. Phoronix Media --------------------------------------------------------------------- * Contact * Michael Larabel * OpenBenchmarking.org Phoronix Premium --------------------------------------------------------------------- * Support Phoronix * While Having Ad-Free Browsing, * Single-Page Article Viewing Share --------------------------------------------------------------------- * Facebook * Twitter * Legal Disclaimer, Privacy Policy, Cookies | Contact * Copyright (c) 2004 - 2023 by Phoronix Media. * All trademarks used are properties of their respective owners. All rights reserved.