diff options
author | Alexander Aring <aahringo@redhat.com> | 2024-04-15 14:39:36 -0400 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2024-04-16 13:46:41 -0500 |
commit | dcdaad05ca15150ae076299ba827867f243c0623 (patch) | |
tree | 7c2de1b856c210660f70cefa6b9c562d5d9f9318 /fs/dlm/dlm_internal.h | |
parent | 700b04808fad2eac24abf050f234f059199fa3fe (diff) | |
download | lwn-dcdaad05ca15150ae076299ba827867f243c0623.tar.gz lwn-dcdaad05ca15150ae076299ba827867f243c0623.zip |
dlm: change to single hashtable lock
Prepare to replace our own hash table with rhashtable by replacing
the per-bucket locks in our own hash table with a single lock.
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/dlm_internal.h')
-rw-r--r-- | fs/dlm/dlm_internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dlm/dlm_internal.h b/fs/dlm/dlm_internal.h index 269c12e0824f..2c961db53b27 100644 --- a/fs/dlm/dlm_internal.h +++ b/fs/dlm/dlm_internal.h @@ -105,7 +105,6 @@ do { \ struct dlm_rsbtable { struct rb_root keep; struct rb_root toss; - spinlock_t lock; unsigned long flags; }; @@ -593,6 +592,7 @@ struct dlm_ls { spinlock_t ls_lkbidr_spin; struct dlm_rsbtable *ls_rsbtbl; + spinlock_t ls_rsbtbl_lock; uint32_t ls_rsbtbl_size; spinlock_t ls_waiters_lock; |