Whamcloud - gitweb
LU-12400 ptlrpc: Sun RPC changes for RCU locking 99/35499/3
authorShaun Tancheff <stancheff@cray.com>
Sun, 14 Jul 2019 11:38:28 +0000 (06:38 -0500)
committerOleg Drokin <green@whamcloud.com>
Mon, 16 Sep 2019 23:03:30 +0000 (23:03 +0000)
commit77d53777e32c80047cb75293d5f9a4c0d23bbea8
tree4ef312896c22cf1780ffa51a3747720594fcbf04
parent0923e405511605b66e73a99dda12ed961ca9e30b
LU-12400 ptlrpc: Sun RPC changes for RCU locking

In kernel 4.20 SUNRPC cache_detail->hash_lock changed to spinlock_t

  Now that the reader functions are all RCU protected, use a regular
  spinlock rather than a reader/writer lock.

Linux-commit: 1863d77f15da0addcd293a1719fa5d3ef8cde3ca

Test-Parameters: trivial
Cray-bug-id: LUS-7600
Signed-off-by: Shaun Tancheff <stancheff@cray.com>
Change-Id: If0df38337d5a2bb0ac4b8cb645dbe89f65e0f352
Reviewed-on: https://review.whamcloud.com/35499
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Petros Koutoupis <pkoutoupis@cray.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/autoconf/lustre-core.m4
lustre/ptlrpc/gss/gss_internal.h
lustre/ptlrpc/gss/gss_svc_upcall.c