[GFS2] Speed up lock_dlm's locking (move sprintf)
authorSteven Whitehouse <swhiteho@redhat.com>
Sun, 18 Mar 2007 17:04:15 +0000 (17:04 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Tue, 1 May 2007 08:10:47 +0000 (09:10 +0100)
The following patch speeds up lock_dlm's locking by moving the sprintf
out from the lock acquisition path and into the lock creation path. This
reduces the amount of CPU time used in acquiring locks by a fair amount.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Acked-by: David Teigland <teigland@redhat.com>

No differences found