Steven Whitehouse 6dbd822487 [GFS2] Reduce inode size by moving i_alloc out of line
It is possible to reduce the size of GFS2 inodes by taking the i_alloc
structure out of the gfs2_inode. This patch allocates the i_alloc
structure whenever its needed, and frees it afterward. This decreases
the amount of low memory we use at the expense of requiring a memory
allocation for each page or partial page that we write. A quick test
with postmark shows that the overhead is not measurable and I also note
that OCFS2 use the same approach.

In the future I'd like to solve the problem by shrinking down the size
of the members of the i_alloc structure, but for now, this reduces the
immediate problem of using too much low-memory on x86 and doesn't add
too much overhead.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
2008-01-25 08:18:25 +00:00
..
2007-10-17 08:42:47 -07:00
2007-11-05 15:12:32 -08:00
2007-10-19 11:53:37 -07:00
2007-12-05 09:25:20 -08:00
2007-12-05 09:25:19 -08:00
2007-10-19 11:53:37 -07:00
2007-05-08 11:14:59 -07:00
2007-10-22 08:13:21 -07:00
2007-12-17 19:28:16 -08:00
2007-12-17 19:28:16 -08:00
2008-01-17 15:38:58 -08:00
2007-10-16 09:43:07 -07:00
2007-10-17 18:49:59 -04:00
2007-10-18 14:37:31 -07:00
2007-11-03 12:27:21 -07:00
2007-11-14 18:45:43 -08:00
2007-12-05 09:21:18 -08:00
2008-01-11 18:05:04 +11:00
2008-01-07 14:55:37 -08:00
2007-10-17 08:42:54 -07:00
2007-10-21 08:54:05 -07:00
2007-10-17 08:42:45 -07:00
2007-07-19 10:04:45 -07:00
2007-07-29 17:09:29 -07:00
2007-10-16 09:42:53 -07:00
2007-05-18 13:09:34 -07:00
2007-11-28 10:58:01 -08:00
2007-05-21 09:18:19 -07:00
2007-05-08 11:15:01 -07:00
2007-10-17 08:43:02 -07:00
2007-05-08 11:15:09 -07:00
2007-07-16 09:05:48 -07:00
2007-10-22 08:13:19 -07:00
2007-10-16 09:42:54 -07:00
2007-07-19 10:04:45 -07:00
2007-11-14 18:45:42 -08:00
2007-10-15 17:00:19 +02:00
2006-10-01 00:39:19 -07:00
2006-03-23 07:38:11 -08:00
2007-07-27 15:40:13 -07:00
2007-10-19 11:53:41 -07:00
2007-10-17 08:43:01 -07:00
2007-10-17 08:43:07 -07:00
2007-10-17 08:42:52 -07:00