]> git.openpandora.org Git - pandora-kernel.git/commitdiff
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)
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

diff --cc fs/dlm/dir.c
Simple merge
diff --cc fs/dlm/lock.c
Simple merge
diff --cc fs/dlm/lock.h
Simple merge