Whamcloud - gitweb
LU-12542 handle: discard OBD_FREE_RCU 97/35797/9
authorNeilBrown <neilb@suse.com>
Tue, 1 Oct 2019 00:58:55 +0000 (20:58 -0400)
committerOleg Drokin <green@whamcloud.com>
Fri, 20 Dec 2019 03:26:23 +0000 (03:26 +0000)
commit48830f888b651c32bfe4742f3d03fd04b15638a9
treeafd2607bdabecb3decdfc51cdadea5d8e8bee34f
parentacd639bf0de0c39419dff94fd6d338283a1ddb24
LU-12542 handle: discard OBD_FREE_RCU

OBD_FREE_RCU and the hop_free call-back together form an overly
complex mechanism equivalent to kfree_rcu() or call_rcu(...).
Discard them and use the simpler approach.

This removes the only use for the field h_size, so discard
that too.

Change-Id: I3b4135565dab6a9aa5034f42ae3f9b66851cae31
Signed-off-by: NeilBrown <neilb@suse.com>
Reviewed-on: https://review.whamcloud.com/35797
Reviewed-by: Neil Brown <neilb@suse.de>
Reviewed-by: Mike Pershin <mpershin@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Shaun Tancheff <stancheff@cray.com>
Reviewed-by: Petros Koutoupis <pkoutoupis@cray.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/include/lustre_handles.h
lustre/include/obd_support.h
lustre/ldlm/ldlm_lock.c
lustre/mdt/mdt_open.c
lustre/obdclass/genops.c
lustre/obdclass/lustre_handles.c