libfs: Add a lock class for the offset map's xa_lock
authorChuck Lever <chuck.lever@oracle.com>
Mon, 24 Jul 2023 14:43:57 +0000 (10:43 -0400)
committerChristian Brauner <brauner@kernel.org>
Wed, 9 Aug 2023 07:15:41 +0000 (09:15 +0200)
commitbbaef7973dd017954419718ab2df526ae1f66e93
tree5ba3c6145923e62efcb497608d54c74bdd85bafa
parenta2e459555c5f9da3e619b7e47a63f98574dc75f1
libfs: Add a lock class for the offset map's xa_lock

Tie the dynamically-allocated xarray locks into a single class so
contention on the directory offset xarrays can be observed.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Message-Id: <169020933088.160441.9405180953116076087.stgit@manet.1015granger.net>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/libfs.c