Whamcloud - gitweb
LU-11568 ldlm: Remove use of SLAB_DESTROY_BY_RCU for ldlm lock slab 34/34434/2
authorOleg Drokin <green@whamcloud.com>
Thu, 31 Jan 2019 18:42:43 +0000 (13:42 -0500)
committerOleg Drokin <green@whamcloud.com>
Tue, 19 Mar 2019 05:59:56 +0000 (05:59 +0000)
commitf60637d9379df8c1e9aabf2f8639e8e318489a4d
tree6d7dbc549a5bc3a6a2d75b6000e9faf243b6d6b8
parent1499531d9e9fa14ee089a3e85bf8a8579636c60d
LU-11568 ldlm: Remove use of SLAB_DESTROY_BY_RCU for ldlm lock slab

Whatever it was doing does not appear to be necessary anymore
as evidenced with newer kernels where the define was removed,
but disabled in Lustre instead.
Another important reason to remove it is because rhel7.3+ seems
to have broken this RCU functionality and leads to frequent use
after frees.

This patch is back-port from:
Lustre-commit: 82d014e71e14671e876055851a0d37e98b4cc079
Lustre-change: https://review.whamcloud.com/34147

Change-Id: I50991b9daf4ef06b24cb65d7a04a5e9b86706d36
Signed-off-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/34434
Tested-by: Jenkins
contrib/nn-final-symbol-list.txt
lustre/include/lustre_compat.h
lustre/ldlm/ldlm_lockd.c