Whamcloud - gitweb
LU-9859 libcfs: move percpt_lock into lnet 32/50832/5
authorMr NeilBrown <neilb@suse.de>
Mon, 23 Nov 2020 04:41:06 +0000 (15:41 +1100)
committerOleg Drokin <green@whamcloud.com>
Fri, 9 Jun 2023 05:27:07 +0000 (05:27 +0000)
commitc4e2563ff3bfa84ab7558c2aced32445da543ef6
tree0c0c1878c521599acadc211652c7e4036eed1046
parent45189283109a097e929e1a3a1d10edfbf2aab643
LU-9859 libcfs: move percpt_lock into lnet

lnet is the only users of percpt_lock - and there are only two such
locks!
So move the code into lnet, as part of deprecating libcfs.

Test-Parameters: trivial
Signed-off-by: Mr NeilBrown <neilb@suse.de>
Change-Id: Id7091e88cf61228aa031921747fb9c7b08214931
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/50832
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
libcfs/include/libcfs/libcfs_cpu.h
libcfs/libcfs/Makefile.in
libcfs/libcfs/autoMakefile.am
lnet/include/lnet/Makefile.am
lnet/include/lnet/lib-lnet.h
lnet/include/lnet/lock.h [new file with mode: 0644]
lnet/lnet/Makefile.in
lnet/lnet/lock.c [moved from libcfs/libcfs/libcfs_lock.c with 87% similarity]