Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3063379pxv; Sun, 18 Jul 2021 09:40:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyfwcnqnUJxMolv2BX/zxgUbvmO61OtNsOf4BdPvKzBXNRP5awPAwZg0Mnjp7SaJ9ZyZ9oj X-Received: by 2002:a6b:490d:: with SMTP id u13mr15713273iob.176.1626626428433; Sun, 18 Jul 2021 09:40:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626626428; cv=none; d=google.com; s=arc-20160816; b=fZImRAnKKn2x650SI84VaVgyFSGtjKPDBmAohITLXca+WOas+y2SVhqvDcQFYx/OQK veaL+EZQ1H7b8G15cmCYbYVyGcbvfeee6LcJc5uWvYAXHA/xL+0tcipF2a0B5wySatas /pGPpYBTC77LGMeZ8C/3tRta9jdw+AHIomVCmOMfriRC50ACnOJV8Q0PoTOpcvCLaRt5 KW4UXQLLEEr0EvUsB/WSxVXRCjJDsnLPlcMtuIt7BS2/v4XeQ6ncgAtGuMskgsT6VOuD 0L83nienfQUDzrBbLtVZV+rbrtIrQi3eHPdhbKTNL/KxgDsjXQKssnefudb5Fx6J7Mr3 DgZA== 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=GYV+PKyTtImbJ0kBzAiHEAbMQAuC4mNG7nLxxR5aCJs=; b=bzRWrA2Wl1oe8v2qXI3LgUnHzbayrE24fkHs8MmlNspSe5LPzLnf/9PaiLT0vwnoJR wXmaOhVRmQ5EDMFpp8L7bxgkVbj0nxfzjP35kU14U19zLSZPc8oF//F5y2ifvJZoh55c fXdSfTHgHLpX3hbiI5yto3jI8pLgnDyT9ht3nkJzSyWwBL7tp9rphFnzE2eL3hkMmqpe TX2UAdS8two87hHLvx/JteMB1KoR7Nb7Ho9P5lhJZJdkvITOVwlKYgr2pjfsq5ZCGvLz 0UoC0vgaHhTYO+IcgDyxT8OxaQ0d51SOXJjVIYj1gIjbZHKpW0hyxMiX0209lYGOxGXF 2eCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qCExeGBm; 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 m8si17391642iow.20.2021.07.18.09.40.15; Sun, 18 Jul 2021 09:40:28 -0700 (PDT) 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=qCExeGBm; 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 S229653AbhGRQmc (ORCPT + 99 others); Sun, 18 Jul 2021 12:42:32 -0400 Received: from mail.kernel.org ([198.145.29.99]:41912 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbhGRQmb (ORCPT ); Sun, 18 Jul 2021 12:42:31 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id B9B8A600D3; Sun, 18 Jul 2021 16:39:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1626626372; bh=PcfSJqnL4nyO3nvWZC3cpvEwmt7XAIh3V/izsRLYz7o=; h=Date:From:To:Cc:Subject:From; b=qCExeGBmkA8H3dI6aiXY9olfjOPloGP/EUxi/c+/Kn/WFLnp2mqjoWSv3xoeQC07b aEkOFJETDS2iXtBaDPbreLGR9/Sy7BcKdXjZjMdmnJhWVn4mFkWwYHuFxJtWlVTzIg tpIbPjw8pFskkZwf0YvmMn4o5itTMEpLuRhyBP8TvppBvlTYBFgp0N1Ft424y+6bqe NbuFNn6gpS0aNFwbSdRCVnM+Bxy/IC3FcZnQA33bvAzFPvD0zYAEmu57cfnbfLKYoj GgfDEYQQmvVYKXY+alCYS4ib+g7qmZJLQeV9OanwP4ozgsx++oSSqvjrrX+jtVfPTU H4uOPpkhszfNA== Date: Sun, 18 Jul 2021 09:39:31 -0700 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 Subject: [GIT PULL] xfs: bug fixes for 5.14-rc2 Message-ID: <20210718163931.GB22402@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 this branch containing a bunch of bug fixes in XFS. There are a few fixes for issues in the new online shrink code, additional corrections for my recent bug-hunt w.r.t. extent size hints on realtime, and improved input checking of the GROWFSRT ioctl. IOWs, the usual "I somehow got bored during the merge window and resumed auditing the farther reaches of xfs." The branch merges cleanly against 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 e73f0f0ee7541171d89f2e2491130c7771ba58d3: Linux 5.14-rc1 (2021-07-11 15:07:40 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git tags/xfs-5.14-fixes-1 for you to fetch changes up to b102a46ce16fd5550aed882c3c5b95f50da7992c: xfs: detect misaligned rtinherit directory extent size hints (2021-07-15 09:58:42 -0700) ---------------------------------------------------------------- Fixes for 5.14-rc: * Fix shrink eligibility checking when sparse inode clusters enabled. * Reset '..' directory entries when unlinking directories to prevent verifier errors if fs is shrinked later. * Don't report unusable extent size hints to FSGETXATTR. * Don't warn when extent size hints are unusable because the sysadmin configured them that way. * Fix insufficient parameter validation in GROWFSRT ioctl. * Fix integer overflow when adding rt volumes to filesystem. ---------------------------------------------------------------- Darrick J. Wong (7): xfs: check for sparse inode clusters that cross new EOAG when shrinking xfs: reset child dir '..' entry when unlinking child xfs: correct the narrative around misaligned rtinherit/extszinherit dirs xfs: don't expose misaligned extszinherit hints to userspace xfs: improve FSGROWFSRT precondition checking xfs: fix an integer overflow error in xfs_growfs_rt xfs: detect misaligned rtinherit directory extent size hints fs/xfs/libxfs/xfs_ag.c | 8 ++++++ fs/xfs/libxfs/xfs_ialloc.c | 55 +++++++++++++++++++++++++++++++++++++++++ fs/xfs/libxfs/xfs_ialloc.h | 3 +++ fs/xfs/libxfs/xfs_inode_buf.c | 28 ++++++++++++--------- fs/xfs/libxfs/xfs_trans_inode.c | 10 +++----- fs/xfs/scrub/inode.c | 18 ++++++++++++-- fs/xfs/xfs_inode.c | 13 ++++++++++ fs/xfs/xfs_ioctl.c | 27 ++++++++++++++++---- fs/xfs/xfs_rtalloc.c | 49 +++++++++++++++++++++++++++--------- 9 files changed, 174 insertions(+), 37 deletions(-)