[GFS2] Reduce size of struct gdlm_lock
authorSteven Whitehouse <swhiteho@redhat.com>
Mon, 14 May 2007 16:43:26 +0000 (17:43 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 9 Jul 2007 07:22:21 +0000 (08:22 +0100)
This patch removes the completion (which is rather large) from struct
gdlm_lock in favour of using the wait_on_bit() functions. We don't need
to add any extra fields to the structure to do this, so we save 32 bytes
(on x86_64) per structure. This adds up to quite a lot when we may
potentially have millions of these lock structures,

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

No differences found