Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2081630pxb; Sat, 27 Feb 2021 09:44:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJxNxbBFw9hrki0T/Gm/iO6vMqsxVlQGxBzXXQYUFNn2v0yGunI0Fh/rmniD1YbejxuHvJrI X-Received: by 2002:a17:906:b249:: with SMTP id ce9mr8786230ejb.294.1614447861547; Sat, 27 Feb 2021 09:44:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614447861; cv=none; d=google.com; s=arc-20160816; b=mTlNQtew+8+lA0/xwkyO6Si1z6DptZzN7Lr2Vnq4c9WnaCHeVHBoWTq1g6ukOH0U3O y+FzfbGU9ue4mt4Ng1uiSbxnk+K3MIIPMkdM4XVtninQ5/0bADd9JO7KFvG10plt7Jqi fkMpLRnykvahEz1n8qnpFtyy7Oe8ylCRK+uTgk0kUEsGZyieSgrrALMeitjR1WY1Pzqo 5xa1BMRY+rdbyHkSa1jaR9gMnLf7Rd2j1QALk0QO4MvuC8hbG2Mdo3AUUX6AQyytesLD 3eQWATHpHTlqz39UGQJoOZgYI2xiQst5liCXfW9GCapAq0q3SW/qYq31ej733Mz2djGV pizg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=EKznyGv84KogEuFBLO/ytUfJG+IuGOsrrX2uaa82xRQ=; b=coFd9AXKSbj3w2Vzf73Y+ACczbksQAy8MJGC7sK8z+oHUmnnCyv64pyR05SgHH01Zh EF2fIUnRdoAraz4LHgwNznG9ZyxnuEnrgzGibAWnqy8oK9yUMiBEjORKOxdoDi5WE4IU 75I/L0CkJko1OjLwuiaiQ+vL1odlrs7SiH9M3cW893riLFf0qEZAA9hM9BOojbuFfqty /OhPjnwHw6R3+EhLwAyLSFbADSiISEIjMasK/6eU7CL0JVnpR2rvoGfRzP1IvP/8wUWB txQ3fAtk9GG26P+CBtEnsJwFON9+B04NuLkCvjMhhgwx3U4CefjwdKi58eMY/EB8a6hL WTBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FmHldItd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b13si8519359ede.66.2021.02.27.09.43.55; Sat, 27 Feb 2021 09:44:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FmHldItd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230153AbhB0Rk6 (ORCPT + 99 others); Sat, 27 Feb 2021 12:40:58 -0500 Received: from mail.kernel.org ([198.145.29.99]:55614 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230281AbhB0Rim (ORCPT ); Sat, 27 Feb 2021 12:38:42 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6971964E45; Sat, 27 Feb 2021 17:37:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1614447445; bh=tG4egkDj8OlEjNI6bUEakV8M22h7xiFwPQoSna2hUmI=; h=Date:From:To:Cc:Subject:From; b=FmHldItd3RW4Jl/TWZLl8pa77IkF35XD4Cvb9Vf6A9kmAVczJ5sXfigJJWk/dQ8Yf 9dO912Ggf3TgFlN1+9u67BiaEc6K7ygkIkKhC3Pjk6jKZdbnROCrkyTb8C0hEdUNcv nc/Vq1ttwO7BWvQCqPY8lYLZFPOi7IJ3+GAqa+co598JofLD1lt6luUAjQLbqbSRVf 5JFDeS0VL1E3hIAJvvRv8iHBDNfSU/PYlRzM+6rUq9cbh6fSGpKg/XBA4FQqv6CDzu f9L3+OTFs5emAtkVwlF7v7z7KRLn8osFA2Io2kETRWH+CvmC2oo8ObwMwtimyyp5n6 Xouv9645GGqyA== Date: Sat, 27 Feb 2021 09:37:25 -0800 From: "Darrick J. Wong" To: Linus Torvalds Cc: linux-fsdevel@vger.kernel.org, linux-xfs@vger.kernel.org, david@fromorbit.com, linux-kernel@vger.kernel.org, sandeen@sandeen.net, hch@lst.de, djwong@kernel.org Subject: [GIT PULL] xfs: fixes for 5.12-rc1 Message-ID: <20210227173725.GE7272@magnolia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, Please pull the following branch containing some fixes to the xfs code for 5.12-rc1. The most notable fix here prevents premature reuse of freed metadata blocks, and adding the ability to detect accidental nested transactions, which are not allowed here. This branch merges cleanly with upstream as of a few minutes ago. Please let me know if anything else strange happens during the merge process. --D The following changes since commit 1cd738b13ae9b29e03d6149f0246c61f76e81fcf: xfs: consider shutdown in bmapbt cursor delete assert (2021-02-11 08:46:38 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git tags/xfs-5.12-merge-6 for you to fetch changes up to 756b1c343333a5aefcc26b0409f3fd16f72281bf: xfs: use current->journal_info for detecting transaction recursion (2021-02-25 08:07:04 -0800) ---------------------------------------------------------------- More new code for 5.12: - Restore a disused sysctl control knob that was inadvertently dropped during the merge window to avoid fstests regressions. - Don't speculatively release freed blocks from the busy list until we're actually allocating them, which fixes a rare log recovery regression. - Don't nest transactions when scanning for free space. - Add an idiot^Wmaintainer light to detect nested transactions. ;) ---------------------------------------------------------------- Brian Foster (1): xfs: don't reuse busy extents on extent trim Darrick J. Wong (2): xfs: restore speculative_cow_prealloc_lifetime sysctl xfs: don't nest transactions when scanning for eofblocks Dave Chinner (1): xfs: use current->journal_info for detecting transaction recursion Documentation/admin-guide/xfs.rst | 16 ++++++++++------ fs/iomap/buffered-io.c | 7 ------- fs/xfs/libxfs/xfs_btree.c | 12 ++++++++++-- fs/xfs/xfs_aops.c | 17 +++++++++++++++-- fs/xfs/xfs_extent_busy.c | 14 -------------- fs/xfs/xfs_sysctl.c | 35 ++++++++++++++--------------------- fs/xfs/xfs_trans.c | 33 +++++++++++++++------------------ fs/xfs/xfs_trans.h | 30 ++++++++++++++++++++++++++++++ 8 files changed, 94 insertions(+), 70 deletions(-)