Whamcloud - gitweb
LU-12542 handle: discard h_lock. 63/35863/7
authorNeilBrown <neilb@suse.com>
Fri, 13 Dec 2019 15:48:18 +0000 (10:48 -0500)
committerOleg Drokin <green@whamcloud.com>
Sat, 8 Feb 2020 04:05:47 +0000 (04:05 +0000)
commit6acafe7ac4efc48e0c406413401e9a8a92b51be2
treeff24f3099cde61e89fc04a53b1b2a9ea8a27b0f4
parent6ee31faf3970d47a79f538712382073b3833a06c
LU-12542 handle: discard h_lock.

The h_lock spinlock is now only taken while bucket->lock
is held.  As a handle is associated with precisely one bucket,
this means that h_lock can never be contended, so it isn't needed.

So discard h_lock.

Also discard an increasingly irrelevant comment in the declaration
of struct portals_handle.

Change-Id: Ib5231fb43d1bf5031d5c2426c4e1d1865544bcf5
Signed-off-by: NeilBrown <neilb@suse.com>
Reviewed-on: https://review.whamcloud.com/35863
Reviewed-by: Neil Brown <neilb@suse.de>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre_handles.h
lustre/obdclass/lustre_handles.c