aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/incore.h
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2007-09-02 05:48:13 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2007-10-10 03:56:03 -0400
commitd7b616e252b125f12b007c392f7644053bb6f140 (patch)
tree0794272905a1876ef74144a993f7a76400893813 /fs/gfs2/incore.h
parent9b9107a5a8b190e6cf09bbdf893869c6a9c482cc (diff)
[GFS2] Clean up ordered write code
The following patch removes the ordered write processing from databuf_lo_before_commit() and moves it to log.c. This has the effect of greatly simplyfying databuf_lo_before_commit() and well as potentially making the ordered write code more efficient. As a side effect of this, its now possible to remove ordered buffers from the ordered buffer list at any time, so we now make use of this in invalidatepage and releasepage to ensure timely release of these buffers. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/incore.h')
-rw-r--r--fs/gfs2/incore.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h
index 23b611aa70d2..388dc1bd736f 100644
--- a/fs/gfs2/incore.h
+++ b/fs/gfs2/incore.h
@@ -612,13 +612,13 @@ struct gfs2_sbd {
612 unsigned int sd_log_num_revoke; 612 unsigned int sd_log_num_revoke;
613 unsigned int sd_log_num_rg; 613 unsigned int sd_log_num_rg;
614 unsigned int sd_log_num_databuf; 614 unsigned int sd_log_num_databuf;
615 unsigned int sd_log_num_jdata;
616 615
617 struct list_head sd_log_le_gl; 616 struct list_head sd_log_le_gl;
618 struct list_head sd_log_le_buf; 617 struct list_head sd_log_le_buf;
619 struct list_head sd_log_le_revoke; 618 struct list_head sd_log_le_revoke;
620 struct list_head sd_log_le_rg; 619 struct list_head sd_log_le_rg;
621 struct list_head sd_log_le_databuf; 620 struct list_head sd_log_le_databuf;
621 struct list_head sd_log_le_ordered;
622 622
623 unsigned int sd_log_blks_free; 623 unsigned int sd_log_blks_free;
624 struct mutex sd_log_reserve_mutex; 624 struct mutex sd_log_reserve_mutex;