Whamcloud - gitweb
LU-4423 lustre: convert rsi_sem to a spinlock. 79/35279/4
authorNeilBrown <neilb@suse.com>
Thu, 4 Jul 2019 21:14:21 +0000 (17:14 -0400)
committerOleg Drokin <green@whamcloud.com>
Sat, 20 Jul 2019 18:38:40 +0000 (18:38 +0000)
commitc3f5ca89cccc599bbc5a6d1f7d1ec9b366495d56
treec46d3d9832608f03105efe2f7139bdbc9d12390c
parentb49ce7aea81e22d7fa2af15744456a7dd751b973
LU-4423 lustre: convert rsi_sem to a spinlock.

This lock is never held over code that sleeps, and is
only ever held for short periods of time.
So a simple spinlock is best.

Change-Id: I3280f52bf64ae2b896bd67436d8d8a42cab38ac2
Signed-off-by: NeilBrown <neilb@suse.com>
Reviewed-on: https://review.whamcloud.com/35279
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/include/obd_class.h
lustre/llite/llite_lib.c
lustre/llite/lproc_llite.c
lustre/mdt/mdt_handler.c
lustre/mdt/mdt_lib.c
lustre/mdt/mdt_lproc.c
lustre/obdclass/lprocfs_status.c