kernel_optimize_test/fs/gfs2
Steven Whitehouse feaa7bba02 [GFS2] Fix unlinked file handling
This patch fixes the way we have been dealing with unlinked,
but still open files. It removes all limits (other than memory
for inodes, as per every other filesystem) on numbers of these
which we can support on GFS2. It also means that (like other
fs) its the responsibility of the last process to close the file
to deallocate the storage, rather than the person who did the
unlinking. Note that with GFS2, those two events might take place
on different nodes.

Also there are a number of other changes:

 o We use the Linux inode subsystem as it was intended to be
used, wrt allocating GFS2 inodes
 o The Linux inode cache is now the point which we use for
local enforcement of only holding one copy of the inode in
core at once (previous to this we used the glock layer).
 o We no longer use the unlinked "special" file. We just ignore it
completely. This makes unlinking more efficient.
 o We now use the 4th block allocation state. The previously unused
state is used to track unlinked but still open inodes.
 o gfs2_inoded is no longer needed
 o Several fields are now no longer needed (and removed) from the in
core struct gfs2_inode
 o Several fields are no longer needed (and removed) from the in core
superblock

There are a number of future possible optimisations and clean ups
which have been made possible by this patch.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
2006-06-14 15:32:57 -04:00
..
locking [GFS2] Cast 64 bit printk args to unsigned long long. 2006-05-24 09:21:30 -04:00
acl.c [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
acl.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
bmap.c [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
bmap.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
daemon.c [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
daemon.h [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
dir.c [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
dir.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
eaops.c [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
eaops.h [GFS2] selinux support 2006-05-22 10:08:35 -04:00
eattr.c [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
eattr.h [GFS2] selinux support 2006-05-22 10:08:35 -04:00
format.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
gfs2.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
glock.c [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
glock.h [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
glops.c [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
glops.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
incore.h [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
inode.c [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
inode.h [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
Kconfig [GFS2] Tidy up Makefile & Kconfig 2006-04-24 14:14:42 -04:00
lm_interface.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
lm.c [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
lm.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
locking.c [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
log.c [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
log.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
lops.c [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
lops.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
lvb.c [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
lvb.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
main.c [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
Makefile [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
meta_io.c [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
meta_io.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
mount.c [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
mount.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
ondisk.c [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
ops_address.c [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
ops_address.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
ops_dentry.c [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
ops_dentry.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
ops_export.c [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
ops_export.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
ops_file.c [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
ops_file.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
ops_fstype.c [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
ops_fstype.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
ops_inode.c [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
ops_inode.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
ops_super.c [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
ops_super.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
ops_vm.c [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
ops_vm.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
page.c [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
page.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
quota.c [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
quota.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
recovery.c [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
recovery.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
rgrp.c [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
rgrp.h [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
super.c [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
super.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
sys.c [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
sys.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
trans.c [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
trans.h [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
util.c [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
util.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00