aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/log.c
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2006-02-23 05:11:47 -0500
committerSteven Whitehouse <swhiteho@redhat.com>2006-02-23 05:11:47 -0500
commit6a6b3d018f4781f108d170f2181281a3c5589dc8 (patch)
tree471b6b8392fbcad36e62161c8f97893f97f0699e /fs/gfs2/log.c
parent8d3b35a4af87965d1873872b21e504558f62116a (diff)
[GFS2] Patch to remove stats gathering from GFS2
Signed-off-by: David Teigland <teigland@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/log.c')
-rw-r--r--fs/gfs2/log.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/gfs2/log.c b/fs/gfs2/log.c
index e6acb41332e7..2483f0c2c50e 100644
--- a/fs/gfs2/log.c
+++ b/fs/gfs2/log.c
@@ -408,8 +408,6 @@ static void log_write_header(struct gfs2_sbd *sdp, uint32_t flags, int pull)
408 unsigned int tail; 408 unsigned int tail;
409 uint32_t hash; 409 uint32_t hash;
410 410
411 atomic_inc(&sdp->sd_log_flush_ondisk);
412
413 bh = sb_getblk(sdp->sd_vfs, blkno); 411 bh = sb_getblk(sdp->sd_vfs, blkno);
414 lock_buffer(bh); 412 lock_buffer(bh);
415 memset(bh->b_data, 0, bh->b_size); 413 memset(bh->b_data, 0, bh->b_size);
@@ -488,8 +486,6 @@ void gfs2_log_flush_i(struct gfs2_sbd *sdp, struct gfs2_glock *gl)
488{ 486{
489 struct gfs2_ail *ai; 487 struct gfs2_ail *ai;
490 488
491 atomic_inc(&sdp->sd_log_flush_incore);
492
493 ai = kzalloc(sizeof(struct gfs2_ail), GFP_NOFS | __GFP_NOFAIL); 489 ai = kzalloc(sizeof(struct gfs2_ail), GFP_NOFS | __GFP_NOFAIL);
494 INIT_LIST_HEAD(&ai->ai_ail1_list); 490 INIT_LIST_HEAD(&ai->ai_ail1_list);
495 INIT_LIST_HEAD(&ai->ai_ail2_list); 491 INIT_LIST_HEAD(&ai->ai_ail2_list);