From b2898e61ad0b21ab651788bd3a8f20af70f6c137 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Wed, 15 Jul 2026 15:02:43 +0200 Subject: btrfs: shutdown: add notes on kernel versions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The shutdown ioctl was moved out of experimental state since v7.1, and my patch for filesystem shutdown notification was also applied for v7.1. Hence, if you are using the Linux kernel v7.1 or later, then you are good to go. Signed-off-by: Miquel Sabaté Solà --- fs/btrfs/shutdown/README.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/fs/btrfs/shutdown/README.md b/fs/btrfs/shutdown/README.md index eaa07b2..7a06fd4 100644 --- a/fs/btrfs/shutdown/README.md +++ b/fs/btrfs/shutdown/README.md @@ -20,9 +20,15 @@ it stands in Linux kernel 6.19, BTRFS shutdown comes in two flavors: In order to be able to run this example as intended you need: -- Linux kernel 6.19+ with BTRFS experimental features enabled. -- A Linux kernel built with the following patch applied: (["btrfs: report filesystem shutdown via - fserror"](https://lore.kernel.org/linux-btrfs/20260216002806.3831884-1-mssola@mssola.com)). +- Linux kernel 6.19+ with BTRFS experimental features enabled. **NOTE**: the + shutdown ioctl is no longer marked as experimental since the Linux kernel + v7.1. +- A Linux kernel built with the following patch applied: (["btrfs: report + filesystem shutdown via + fserror"](https://lore.kernel.org/linux-btrfs/20260216002806.3831884-1-mssola@mssola.com)). **NOTE**: + this patch is applied as of Linux kernel v7.1. + +Thus, if your Linux kernel is v7.1 or later, then you are good to go. ## Listening for filesystem errors -- cgit v1.2.3