Whamcloud - gitweb
LU-12400 ptlrpc: Sun RPC changes for RCU locking 83/38483/3
authorShaun Tancheff <stancheff@cray.com>
Mon, 4 May 2020 20:16:00 +0000 (13:16 -0700)
committerOleg Drokin <green@whamcloud.com>
Wed, 27 May 2020 02:40:14 +0000 (02:40 +0000)
commitc3e1f86f3a50cfa3762b63fb0f058af5036238ad
treef3cdc5e0b717c871b1080b6892fcd6463fb050f1
parent547cda898d8f3523aa411c5d7f98c2a14beb2139
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

This patch is back-ported from the following one:
Lustre-commit: 77d53777e32c80047cb75293d5f9a4c0d23bbea8
Lustre-change: https://review.whamcloud.com/35499

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/38483
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Tested-by: Maloo <maloo@whamcloud.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