]> www.infradead.org Git - users/jedix/linux-maple.git/commit
fs: add percpu counters for significant multigrain timestamp events
authorJeff Layton <jlayton@kernel.org>
Wed, 2 Oct 2024 21:27:22 +0000 (17:27 -0400)
committerChristian Brauner <brauner@kernel.org>
Thu, 10 Oct 2024 08:20:52 +0000 (10:20 +0200)
commit73a47cf40f84312cb6ea2b3583825d671930b24f
treee1442b57c7092ef81d34685132a7543ea1d45041
parentc86e3c47187ad7fa17f8533a4142453991684b46
fs: add percpu counters for significant multigrain timestamp events

New percpu counters for counting various stats around multigrain
timestamp events, and a new debugfs file for displaying them when
CONFIG_DEBUG_FS is enabled:

- number of attempted ctime updates
- number of successful i_ctime_nsec swaps
- number of fine-grained timestamp fetches
- number of floor value swap events

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Jan Kara <jack@suse.cz>
Tested-by: Randy Dunlap <rdunlap@infradead.org> # documentation bits
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Link: https://lore.kernel.org/r/20241002-mgtime-v10-7-d1c4717f5284@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/inode.c