buffer cache simplifications v2
From: | Christoph Hellwig <hch-AT-lst.de> | |
To: | Carlos Maiolino <cem-AT-kernel.org> | |
Subject: | buffer cache simplifications v2 | |
Date: | Mon, 24 Feb 2025 07:11:34 -0800 | |
Message-ID: | <20250224151144.342859-1-hch@lst.de> | |
Cc: | "Darrick J. Wong" <djwong-AT-kernel.org>, linux-xfs-AT-vger.kernel.org | |
Archive-link: | Article |
Hi all, this series reduces some superlfous work done in the buffer cache. Most notable an extra workqueue context switch for synchronous I/O, and tracking of in-flight I/O for buffers where that is not needed. Changes since v1: - add a comment explaining the __xfs_buf_ioend return value - fix a function name reference in a commit message Diffstat: xfs_buf.c | 182 ++++++++++++++++++------------------------------------ xfs_buf.h | 7 -- xfs_buf_mem.c | 2 xfs_log_recover.c | 2 xfs_mount.c | 7 -- xfs_rtalloc.c | 2 xfs_trace.h | 1 7 files changed, 71 insertions(+), 132 deletions(-)