]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit - fs/dlm/dir.c
dlm: fix slow rsb search in dir recovery
authorDavid Teigland <teigland@redhat.com>
Thu, 8 Mar 2012 18:37:12 +0000 (12:37 -0600)
committerDavid Teigland <teigland@redhat.com>
Thu, 8 Mar 2012 20:46:30 +0000 (14:46 -0600)
commit7210cb7a72a22303cdb225bd1aea28697a17bbae
treeeb303df3d35d52080309d139c1d26edcfab1e670
parent192cfd58774b4d17b2fe8bdc77d89c2ef4e0591d
dlm: fix slow rsb search in dir recovery

The function used to find an rsb during directory
recovery was searching the single linear list of
rsb's.  This wasted a lot of time compared to
using the standard hash table to find the rsb.

Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/dir.c
fs/dlm/lock.c
fs/dlm/lock.h