linux/fs/gfs2
Steven Whitehouse f4154ea039 [GFS2] Update journal accounting code.
A small update to the journaling code to change the way that
the "extra" blocks are accounted for in the journal. These are
used at a rate of one per 503 metadata blocks or one per 251
journaled data blocks (or just one if the total number of journaled
blocks in the transaction is smaller). Since we are using them at
two different rates the old method of accounting for them no longer
works and we count them up as required.

Since the "per transaction" accounting can't handle this (there is no
fixed number of header blocks per transaction) we have to account for
it in the general journal code. We now require that each transaction
reserves more blocks than it actually needs to take account of the
possible extra blocks.

Also a final fix to dir.c to ensure that all ref counts are handled
correctly.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
2006-04-11 14:49:06 -04:00
..
locking [GFS2] Update GFS2 for the recent pull from Linus 2006-03-31 16:48:41 -05:00
acl.c [GFS2] Macros removal in gfs2.h 2006-02-27 17:23:27 -05:00
acl.h [GFS2] The core of GFS2 2006-01-16 16:50:04 +00:00
bits.c [GFS2] Macros removal in gfs2.h 2006-02-27 17:23:27 -05:00
bits.h [GFS2] The core of GFS2 2006-01-16 16:50:04 +00:00
bmap.c [GFS2] Further updates to dir and logging code 2006-03-28 14:14:04 -05:00
bmap.h [GFS2] Remove unused prototype 2006-01-30 13:36:53 +00:00
daemon.c [GFS2] Fix a ref count bug and other clean ups 2006-04-07 11:17:32 -04:00
daemon.h [GFS2] The core of GFS2 2006-01-16 16:50:04 +00:00
dir.c [GFS2] Update journal accounting code. 2006-04-11 14:49:06 -04:00
dir.h [GFS2] Further updates to dir and logging code 2006-03-28 14:14:04 -05:00
eaops.c [GFS2] Macros removal in gfs2.h 2006-02-27 17:23:27 -05:00
eaops.h [GFS2] The core of GFS2 2006-01-16 16:50:04 +00:00
eattr.c [GFS2] Macros removal in gfs2.h 2006-02-27 17:23:27 -05:00
eattr.h [GFS2] Macros removal in gfs2.h 2006-02-27 17:23:27 -05:00
format.h [GFS2] The core of GFS2 2006-01-16 16:50:04 +00:00
gfs2.h [GFS2] Macros removal in gfs2.h 2006-02-27 17:23:27 -05:00
glock.c [GFS2] Update debugging code 2006-03-29 14:36:49 -05:00
glock.h [GFS2] Update debugging code 2006-03-29 14:36:49 -05:00
glops.c [GFS2] Fix a ref count bug and other clean ups 2006-04-07 11:17:32 -04:00
glops.h [GFS2] The core of GFS2 2006-01-16 16:50:04 +00:00
incore.h [GFS2] Fix a ref count bug and other clean ups 2006-04-07 11:17:32 -04:00
inode.c [GFS2] Further updates to dir and logging code 2006-03-28 14:14:04 -05:00
inode.h [GFS2] Fix bug in directory code and tidy up 2006-03-20 12:30:04 -05:00
Kconfig [GFS2] The core of GFS2 2006-01-16 16:50:04 +00:00
lm_interface.h [GFS2] The core of GFS2 2006-01-16 16:50:04 +00:00
lm.c [GFS2] Macros removal in gfs2.h 2006-02-27 17:23:27 -05:00
lm.h [GFS2] The core of GFS2 2006-01-16 16:50:04 +00:00
locking.c [GFS2] Audit printk and kmalloc 2006-02-27 10:57:14 -05:00
log.c [GFS2] Update journal accounting code. 2006-04-11 14:49:06 -04:00
log.h [GFS2] Fix a ref count bug and other clean ups 2006-04-07 11:17:32 -04:00
lops.c [GFS2] Fix a ref count bug and other clean ups 2006-04-07 11:17:32 -04:00
lops.h [GFS2] Fix a ref count bug and other clean ups 2006-04-07 11:17:32 -04:00
lvb.c [GFS2] Macros removal in gfs2.h 2006-02-27 17:23:27 -05:00
lvb.h [GFS2] Macros removal in gfs2.h 2006-02-27 17:23:27 -05:00
main.c [GFS2] Add gfs2meta filesystem 2006-03-02 16:33:41 -05:00
Makefile [GFS2] Make journaled data files identical to normal files on disk 2006-02-08 11:50:51 +00:00
meta_io.c [GFS2] Fix a ref count bug and other clean ups 2006-04-07 11:17:32 -04:00
meta_io.h [GFS2] 80 Column audit of GFS2 2006-02-27 12:00:42 -05:00
mount.c [GFS2] Macros removal in gfs2.h 2006-02-27 17:23:27 -05:00
mount.h [GFS2] The core of GFS2 2006-01-16 16:50:04 +00:00
ondisk.c [GFS] Fix bug in endian conversion for metadata header 2006-03-30 15:46:23 -05:00
ops_address.c [GFS2] Update GFS2 for the recent pull from Linus 2006-03-31 16:48:41 -05:00
ops_address.h [GFS2] Rename get_block and make it extern 2006-01-30 09:39:10 +00:00
ops_dentry.c [GFS2] Further updates to dir and logging code 2006-03-28 14:14:04 -05:00
ops_dentry.h [GFS2] The core of GFS2 2006-01-16 16:50:04 +00:00
ops_export.c [GFS2] Further updates to dir and logging code 2006-03-28 14:14:04 -05:00
ops_export.h [GFS2] The core of GFS2 2006-01-16 16:50:04 +00:00
ops_file.c [GFS2] Fix a ref count bug and other clean ups 2006-04-07 11:17:32 -04:00
ops_file.h [GFS2] Fix for lock recursion problem for internal files 2006-02-15 10:15:18 +00:00
ops_fstype.c [GFS2] Fix a ref count bug and other clean ups 2006-04-07 11:17:32 -04:00
ops_fstype.h [GFS2] Add gfs2meta filesystem 2006-03-02 16:33:41 -05:00
ops_inode.c [GFS2] Further updates to dir and logging code 2006-03-28 14:14:04 -05:00
ops_inode.h [GFS2] The core of GFS2 2006-01-16 16:50:04 +00:00
ops_super.c [GFS2] Fix a ref count bug and other clean ups 2006-04-07 11:17:32 -04:00
ops_super.h [GFS2] The core of GFS2 2006-01-16 16:50:04 +00:00
ops_vm.c [GFS2] Macros removal in gfs2.h 2006-02-27 17:23:27 -05:00
ops_vm.h [GFS2] The core of GFS2 2006-01-16 16:50:04 +00:00
page.c [GFS2] Macros removal in gfs2.h 2006-02-27 17:23:27 -05:00
page.h [GFS2] Update truncate function (shrinking partial blocks) 2006-01-31 10:00:25 +00:00
quota.c [GFS2] Fix a ref count bug and other clean ups 2006-04-07 11:17:32 -04:00
quota.h [GFS2] The core of GFS2 2006-01-16 16:50:04 +00:00
recovery.c [GFS] Fix bug in endian conversion for metadata header 2006-03-30 15:46:23 -05:00
recovery.h [GFS2] The core of GFS2 2006-01-16 16:50:04 +00:00
rgrp.c [GFS2] Macros removal in gfs2.h 2006-02-27 17:23:27 -05:00
rgrp.h [GFS2] The core of GFS2 2006-01-16 16:50:04 +00:00
super.c [GFS2] Further updates to dir and logging code 2006-03-28 14:14:04 -05:00
super.h [GFS2] Tidy up mount code. 2006-03-01 15:31:02 -05:00
sys.c [GFS2] Macros removal in gfs2.h 2006-02-27 17:23:27 -05:00
sys.h [GFS2] The core of GFS2 2006-01-16 16:50:04 +00:00
trans.c [GFS2] Update journal accounting code. 2006-04-11 14:49:06 -04:00
trans.h [GFS2] Update debugging code 2006-03-29 14:36:49 -05:00
unlinked.c [GFS2] Macros removal in gfs2.h 2006-02-27 17:23:27 -05:00
unlinked.h [GFS2] The core of GFS2 2006-01-16 16:50:04 +00:00
util.c [GFS2] Further updates to dir and logging code 2006-03-28 14:14:04 -05:00
util.h [GFS] Fix bug in endian conversion for metadata header 2006-03-30 15:46:23 -05:00