diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2007-05-14 17:43:26 +0100 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2007-07-09 08:22:21 +0100 |
commit | 41d7db0ab437bc84f8a6e77cccc626ce937605ac (patch) | |
tree | de836241c692264ef72cb08cd59d776759d4d99a /fs/gfs2/ondisk.c | |
parent | cd81a4bac67d44742ab0aa1848f4a78e9d7e1093 (diff) | |
download | linux-41d7db0ab437bc84f8a6e77cccc626ce937605ac.tar.gz linux-41d7db0ab437bc84f8a6e77cccc626ce937605ac.tar.bz2 linux-41d7db0ab437bc84f8a6e77cccc626ce937605ac.zip |
[GFS2] Reduce size of struct gdlm_lock
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>
Diffstat (limited to 'fs/gfs2/ondisk.c')
0 files changed, 0 insertions, 0 deletions