summaryrefslogtreecommitdiff
path: root/include/linux/kernel.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2018-04-12 07:54:48 +1000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-04-23 15:07:41 +0200
commit4206c444e4a89dae9f67f08d9c29d58c37c960cd (patch)
tree7fe516c0cc1d742f3e474562d9afab4fec201211 /include/linux/kernel.h
parent055ed193b190edac539f37a66699b02eae3a19a9 (diff)
staging: lustre: convert obd uuid hash to rhashtable
The rhashtable data type is a perfect fit for the export uuid hash table, so use that instead of cfs_hash (which will eventually be removed). As rhashtable supports lookups and insertions in atomic context, there is no need to drop a spinlock while inserting a new entry, which simplifies code quite a bit. As there are no simple lookups on this hash table (only insertions which might fail and take a spinlock), there is no need to use rcu to free the exports. Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions