diff options
| author | 2018-04-12 07:54:48 +1000 | |
|---|---|---|
| committer | 2018-04-23 15:07:41 +0200 | |
| commit | 4206c444e4a89dae9f67f08d9c29d58c37c960cd (patch) | |
| tree | 7fe516c0cc1d742f3e474562d9afab4fec201211 /include/linux | |
| parent | staging: lustre: convert lov_pool to use rhashtable (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')
0 files changed, 0 insertions, 0 deletions
