[Cluster-devel] [GFS2] Speed up lock_dlm's locking (move sprintf)
David Teigland
teigland at redhat.com
Tue Mar 20 14:31:38 UTC 2007
On Sun, Mar 18, 2007 at 05:04:15PM +0000, Steven Whitehouse wrote:
> Hi,
>
> 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,
and adds 26 bytes to each lock. Ack, fine with me.
(I've wanted to quit using string names but I've been lazy and still have
a number of printf's on the names in the dlm)
Dave
More information about the Cluster-devel
mailing list