linux/fs/gfs2
Steven Whitehouse 37b2fa6a24 [GFS2] Move rwlocks in glock.c into their own array
This splits the rwlocks guarding the hash chains of the glock hash
table into their own array. This will reduce memory usage in some
cases due to better alignment, although the real reason for doing it
is to allow the two tables to be different sizes in future (i.e.
the locks will be sized proportionally with the max number of CPUs
and the hash chains sized proportinally with the size of physical memory)

In order to allow this, the gl_bucket member of struct gfs2_glock has
now become gl_hash, so we record the hash rather than a pointer to the
bucket itself.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
2006-09-08 13:35:56 -04:00
..
locking [GFS2] Use void * instead of typedef for locking module interface 2006-09-08 10:17:58 -04:00
acl.c [GFS2] Align all labels against LH side 2006-09-04 12:04:26 -04:00
acl.h [GFS2] Make headers compile on their own 2006-09-05 10:39:21 -04:00
bmap.c [GFS2] More style changes 2006-09-07 09:42:56 -04:00
bmap.h [GFS2] Make headers compile on their own 2006-09-05 10:39:21 -04:00
daemon.c [GFS2] Update copyright, tidy up incore.h 2006-09-01 11:05:15 -04:00
daemon.h [GFS2] Update copyright, tidy up incore.h 2006-09-01 11:05:15 -04:00
dir.c [GFS2] More style changes 2006-09-07 09:42:56 -04:00
dir.h [GFS2] Make headers compile on their own 2006-09-05 10:39:21 -04:00
eaops.c [GFS2] Extended attribute code style changes 2006-09-05 13:15:18 -04:00
eaops.h [GFS2] Extended attribute code style changes 2006-09-05 13:15:18 -04:00
eattr.c [GFS2] Extended attribute code style changes 2006-09-05 13:15:18 -04:00
eattr.h [GFS2] Extended attribute code style changes 2006-09-05 13:15:18 -04:00
gfs2.h [GFS2] Update copyright, tidy up incore.h 2006-09-01 11:05:15 -04:00
glock.c [GFS2] Move rwlocks in glock.c into their own array 2006-09-08 13:35:56 -04:00
glock.h [GFS2] Use void * instead of typedef for locking module interface 2006-09-08 10:17:58 -04:00
glops.c [GFS2] Fix end of multi-line structures 2006-09-05 10:53:09 -04:00
glops.h [GFS2] Make headers compile on their own 2006-09-05 10:39:21 -04:00
incore.h [GFS2] Move rwlocks in glock.c into their own array 2006-09-08 13:35:56 -04:00
inode.c [GFS2] Remove a cast, tidy gfs2_inode_attr_in 2006-09-04 13:55:48 -04:00
inode.h [GFS2] Update copyright, tidy up incore.h 2006-09-01 11:05:15 -04:00
Kconfig [GFS2] gfs2/dlm: mailing list and web page 2006-06-22 15:29:57 -04:00
lm.c [GFS2] Use void * instead of typedef for locking module interface 2006-09-08 10:17:58 -04:00
lm.h [GFS2] Use void * instead of typedef for locking module interface 2006-09-08 10:17:58 -04:00
lm_interface.h [GFS2] Use void * instead of typedef for locking module interface 2006-09-08 10:17:58 -04:00
locking.c [GFS2] Use void * instead of typedef for locking module interface 2006-09-08 10:17:58 -04:00
log.c [GFS2] More style changes 2006-09-07 09:42:56 -04:00
log.h [GFS2] Make headers compile on their own 2006-09-05 10:39:21 -04:00
lops.c [GFS2] Style changes in logging code 2006-09-05 14:41:30 -04:00
lops.h [GFS2] Make headers compile on their own 2006-09-05 10:39:21 -04:00
main.c [GFS2] Move glock hash table out of superblock 2006-09-07 14:40:21 -04:00
Makefile [GFS2] Update copyright, tidy up incore.h 2006-09-01 11:05:15 -04:00
meta_io.c [GFS2] More style changes 2006-09-04 14:47:06 -04:00
meta_io.h [GFS2] Make headers compile on their own 2006-09-05 10:39:21 -04:00
mount.c [GFS2] Align all labels against LH side 2006-09-04 12:04:26 -04:00
mount.h [GFS2] Make headers compile on their own 2006-09-05 10:39:21 -04:00
ondisk.c [GFS2] Use const in endian conversion routines 2006-09-04 14:48:37 -04:00
ops_address.c [GFS2] Style changes in ops_address.c 2006-09-04 14:59:35 -04:00
ops_address.h [GFS2] Make headers compile on their own 2006-09-05 10:39:21 -04:00
ops_dentry.c [GFS2] Align all labels against LH side 2006-09-04 12:04:26 -04:00
ops_dentry.h [GFS2] Make headers compile on their own 2006-09-05 10:39:21 -04:00
ops_export.c [GFS2] Add a comment in ops_export.c 2006-09-05 15:56:17 -04:00
ops_export.h [GFS2] Some further style changes 2006-09-04 16:16:45 -04:00
ops_file.c [GFS2] More code style updates 2006-09-04 15:32:10 -04:00
ops_file.h [GFS2] Make headers compile on their own 2006-09-05 10:39:21 -04:00
ops_fstype.c [GFS2] vfree should be kfree 2006-09-08 10:13:03 -04:00
ops_fstype.h [GFS2] Make headers compile on their own 2006-09-05 10:39:21 -04:00
ops_inode.c [GFS2] More code style updates 2006-09-04 15:32:10 -04:00
ops_inode.h [GFS2] Make headers compile on their own 2006-09-05 10:39:21 -04:00
ops_super.c [GFS2] Directory code style changes 2006-09-05 09:34:20 -04:00
ops_super.h [GFS2] Make headers compile on their own 2006-09-05 10:39:21 -04:00
ops_vm.c [GFS2] Change all types to uX style 2006-09-04 12:49:07 -04:00
ops_vm.h [GFS2] Make headers compile on their own 2006-09-05 10:39:21 -04:00
quota.c [GFS2] Remove unused code from quota 2006-09-05 15:17:12 -04:00
quota.h [GFS2] Make headers compile on their own 2006-09-05 10:39:21 -04:00
recovery.c [GFS2] Style changes in logging code 2006-09-05 14:41:30 -04:00
recovery.h [GFS2] Make headers compile on their own 2006-09-05 10:39:21 -04:00
rgrp.c [GFS2] More style fixes 2006-09-05 15:41:57 -04:00
rgrp.h [GFS2] More style fixes 2006-09-05 15:41:57 -04:00
super.c [GFS2] Change all types to uX style 2006-09-04 12:49:07 -04:00
super.h [GFS2] Make headers compile on their own 2006-09-05 10:39:21 -04:00
sys.c [GFS2] use snprintf for sysfs show 2006-09-07 09:43:34 -04:00
sys.h [GFS2] Make headers compile on their own 2006-09-05 10:39:21 -04:00
trans.c [GFS2] Change all types to uX style 2006-09-04 12:49:07 -04:00
trans.h [GFS2] Make headers compile on their own 2006-09-05 10:39:21 -04:00
util.c [GFS2] Change all types to uX style 2006-09-04 12:49:07 -04:00
util.h [GFS2] Make headers compile on their own 2006-09-05 10:39:21 -04:00