[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240224010017.GM6226@frogsfrogsfrogs>
Date: Fri, 23 Feb 2024 17:00:17 -0800
From: "Darrick J. Wong" <djwong@...nel.org>
To: Kent Overstreet <kent.overstreet@...ux.dev>, daniel@...o.nz,
akpm@...ux-foundation.org, keescook@...omium.org
Cc: linux-bcachefs@...r.kernel.org, linux-kernel@...r.kernel.org,
xfs <linux-xfs@...r.kernel.org>
Subject: [PATCHBOMB] time_stats, thread_with_file: lifting generic code to lib
Hi all,
Kent and I went on a little sprint of figuring out if there were any
pieces of bcachefs that we could steal for XFS. It turns out that there
are -- the timestats code is useful for measuring delays due to lock
contention, and thread_with_file will be very helpful for exporting
filesystem metadata health events to userspace.
So here's a pile of patchsets lifting those pieces of bcachefs to lib
and fixing a bunch of bugs in them. These patches have already been
soaking in Kent's testing tree (and -next) for a few days, but
apparently not all of them got emailed so here I am blasting out the
entire thing.
If you want to see what XFS does with this, have a look at [1] and [2].
For 6.9 it'd be helpful to get these modules lifted.
--Darrick
[1] https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git/log/?h=health-monitoring_2024-02-23
[2] https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git/tag/?h=contention-timestats_2024-02-23
Powered by blists - more mailing lists