Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="UWxyReH2" Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91292A6 for ; Wed, 13 Dec 2023 22:34:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=yEUe+pGMX+loEMQuPO1K5UczOHND9RjRtQb8CvqJeBo=; b=UWxyReH2l0eTUKnVaw+6/uuIMH NmthFHL9VcMOgygSIA84c0blAKC3/HpcZVvlUUWzvOfZLtNmu1Jiz/B/gd0/d11QznuSAiXbXyJlW cRjNyQT4RY69UKoGaC6sgEIX6nfxgXoWjqXBsNioxgDqqPrcqG4pAmkSvbeaZ+qUoKGA4L17hk+HD S5SxLoDwDfBFgZ3Fz5oFYQKXxyREJS4ZhxU2W6cEomEDke/IBFWq2O0m8eFyOPgkFB499Zf6TFNaT SrRYTqWm8adK2LnKuZLeIC6EQvmVNzB2XDgk7Uy27CKWjF4dq5lPpM0j4MLBFsk3rZcN7Vs1/V9Hc n/3BJTcg==; Received: from [2001:4bb8:19a:a621:c70:4a89:bc61:3] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rDfIv-00GzIr-2J; Thu, 14 Dec 2023 06:34:42 +0000 From: Christoph Hellwig To: Chandan Babu R Cc: "Darrick J. Wong" , linux-xfs@vger.kernel.org Subject: RT allocator tidy ups Date: Thu, 14 Dec 2023 07:34:19 +0100 Message-Id: <20231214063438.290538-1-hch@lst.de> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-xfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Hi all, this series has a bunch of tidy ups preparing for my research into per-RTG RT bitmaps. The first is a fix for a one-off bug that I could only reproduce with my hacky patches, but which seems real. The second- and third-last patches change the policy for retrying allocations that didn't succeed and could use very careful review. The rest is fairly mechanic cleanups. Diffstat: libxfs/xfs_bmap.c | 55 ++-- libxfs/xfs_bmap.h | 2 libxfs/xfs_format.h | 14 - libxfs/xfs_rtbitmap.c | 106 +++----- libxfs/xfs_rtbitmap.h | 4 libxfs/xfs_types.h | 1 scrub/rtsummary.c | 2 xfs_bmap_util.c | 141 ---------- xfs_bmap_util.h | 2 xfs_quota.h | 5 xfs_rtalloc.c | 647 +++++++++++++++++++++++++------------------------- xfs_rtalloc.h | 37 -- 12 files changed, 416 insertions(+), 600 deletions(-)