]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: don't create one lockdep class per RTG xfs-per-rtg-inodes
authorChristoph Hellwig <hch@lst.de>
Tue, 16 Jul 2024 14:16:52 +0000 (16:16 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 17 Jul 2024 07:30:51 +0000 (09:30 +0200)
commit099aa9afcae194928de23871fa8f6cdeeb37812f
treef288654ffd5a5e21b7bea5f85038f607d0d04345
parent9e99f027ccc769840dac55f430e06e7af5ec339c
xfs: don't create one lockdep class per RTG

lockdep_unregister_key is rather expensive because it does a
synchronize_rcu.  To avoid slowdowns with lots of RTGs try to avoid
using it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
fs/xfs/libxfs/xfs_rtgroup.c
fs/xfs/libxfs/xfs_rtgroup.h
fs/xfs/xfs_inode.h
fs/xfs/xfs_iops.c
fs/xfs/xfs_iops.h
fs/xfs/xfs_rtalloc.c