]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcachefs: bch2_time_stats_init_no_pcpu()
authorKent Overstreet <kent.overstreet@linux.dev>
Tue, 25 Mar 2025 14:52:00 +0000 (10:52 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sat, 29 Mar 2025 02:31:47 +0000 (22:31 -0400)
commitdaa771332e1e074c22b706e981de28d384577268
treec95e3e7038b505ba7838ffc921ed6b8525b8abc4
parent7c4cb50e1a39ada75aaaaaedfdaec52d0b8f8bcc
bcachefs: bch2_time_stats_init_no_pcpu()

Add a mode to disable automatic switching to percpu mode, useful when a
time_stats will only be used by one thread and we don't want to have to
flush the percpu buffers.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/time_stats.c
fs/bcachefs/time_stats.h