diff options
author | Steven Whitehouse <steve@chygwyn.com> | 2006-01-18 08:14:40 -0500 |
---|---|---|
committer | Steven Whitehouse <steve@chygwyn.com> | 2006-01-18 08:14:40 -0500 |
commit | 64fb4eb7d4cc9de89f4d9b9061adde46ed3b5641 (patch) | |
tree | 973c910cdf963f2e546ef0e8fcc93c16a7c04905 /fs/gfs2/incore.h | |
parent | 586dfdaaf328d79bb356d760db963b03a75a4131 (diff) |
[GFS2] Remove gfs2_databuf in favour of gfs2_bufdata structure
Removing the gfs2_databuf structure and using gfs2_bufdata instead
is a step towards allowing journaling of data without requiring the
metadata header on each journaled block. The idea is to merge the
code paths for ordered data with that of journaled data, with the
log operations in lops.c tacking account of the different types of
buffers as they are presented to it. Largely the code path for
metadata will be similar too, but obviously through a different set
of log operations.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/incore.h')
-rw-r--r-- | fs/gfs2/incore.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h index 3ed0a7f26e4..3bc40ff5fdf 100644 --- a/fs/gfs2/incore.h +++ b/fs/gfs2/incore.h | |||
@@ -25,7 +25,6 @@ struct gfs2_log_element; | |||
25 | struct gfs2_bitmap; | 25 | struct gfs2_bitmap; |
26 | struct gfs2_rgrpd; | 26 | struct gfs2_rgrpd; |
27 | struct gfs2_bufdata; | 27 | struct gfs2_bufdata; |
28 | struct gfs2_databuf; | ||
29 | struct gfs2_glock_operations; | 28 | struct gfs2_glock_operations; |
30 | struct gfs2_holder; | 29 | struct gfs2_holder; |
31 | struct gfs2_glock; | 30 | struct gfs2_glock; |
@@ -116,11 +115,6 @@ struct gfs2_bufdata { | |||
116 | struct list_head bd_ail_gl_list; | 115 | struct list_head bd_ail_gl_list; |
117 | }; | 116 | }; |
118 | 117 | ||
119 | struct gfs2_databuf { | ||
120 | struct gfs2_log_element db_le; | ||
121 | struct buffer_head *db_bh; | ||
122 | }; | ||
123 | |||
124 | struct gfs2_glock_operations { | 118 | struct gfs2_glock_operations { |
125 | void (*go_xmote_th) (struct gfs2_glock * gl, unsigned int state, | 119 | void (*go_xmote_th) (struct gfs2_glock * gl, unsigned int state, |
126 | int flags); | 120 | int flags); |