|
@@ -200,7 +200,7 @@ static void buf_lo_before_commit(struct gfs2_sbd *sdp)
|
|
}
|
|
}
|
|
|
|
|
|
gfs2_log_unlock(sdp);
|
|
gfs2_log_unlock(sdp);
|
|
- submit_bh(WRITE_SYNC_PLUG, bh);
|
|
|
|
|
|
+ submit_bh(WRITE_SYNC, bh);
|
|
gfs2_log_lock(sdp);
|
|
gfs2_log_lock(sdp);
|
|
|
|
|
|
n = 0;
|
|
n = 0;
|
|
@@ -210,7 +210,7 @@ static void buf_lo_before_commit(struct gfs2_sbd *sdp)
|
|
gfs2_log_unlock(sdp);
|
|
gfs2_log_unlock(sdp);
|
|
lock_buffer(bd2->bd_bh);
|
|
lock_buffer(bd2->bd_bh);
|
|
bh = gfs2_log_fake_buf(sdp, bd2->bd_bh);
|
|
bh = gfs2_log_fake_buf(sdp, bd2->bd_bh);
|
|
- submit_bh(WRITE_SYNC_PLUG, bh);
|
|
|
|
|
|
+ submit_bh(WRITE_SYNC, bh);
|
|
gfs2_log_lock(sdp);
|
|
gfs2_log_lock(sdp);
|
|
if (++n >= num)
|
|
if (++n >= num)
|
|
break;
|
|
break;
|
|
@@ -352,7 +352,7 @@ static void revoke_lo_before_commit(struct gfs2_sbd *sdp)
|
|
sdp->sd_log_num_revoke--;
|
|
sdp->sd_log_num_revoke--;
|
|
|
|
|
|
if (offset + sizeof(u64) > sdp->sd_sb.sb_bsize) {
|
|
if (offset + sizeof(u64) > sdp->sd_sb.sb_bsize) {
|
|
- submit_bh(WRITE_SYNC_PLUG, bh);
|
|
|
|
|
|
+ submit_bh(WRITE_SYNC, bh);
|
|
|
|
|
|
bh = gfs2_log_get_buf(sdp);
|
|
bh = gfs2_log_get_buf(sdp);
|
|
mh = (struct gfs2_meta_header *)bh->b_data;
|
|
mh = (struct gfs2_meta_header *)bh->b_data;
|
|
@@ -369,7 +369,7 @@ static void revoke_lo_before_commit(struct gfs2_sbd *sdp)
|
|
}
|
|
}
|
|
gfs2_assert_withdraw(sdp, !sdp->sd_log_num_revoke);
|
|
gfs2_assert_withdraw(sdp, !sdp->sd_log_num_revoke);
|
|
|
|
|
|
- submit_bh(WRITE_SYNC_PLUG, bh);
|
|
|
|
|
|
+ submit_bh(WRITE_SYNC, bh);
|
|
}
|
|
}
|
|
|
|
|
|
static void revoke_lo_before_scan(struct gfs2_jdesc *jd,
|
|
static void revoke_lo_before_scan(struct gfs2_jdesc *jd,
|
|
@@ -571,7 +571,7 @@ static void gfs2_write_blocks(struct gfs2_sbd *sdp, struct buffer_head *bh,
|
|
ptr = bh_log_ptr(bh);
|
|
ptr = bh_log_ptr(bh);
|
|
|
|
|
|
get_bh(bh);
|
|
get_bh(bh);
|
|
- submit_bh(WRITE_SYNC_PLUG, bh);
|
|
|
|
|
|
+ submit_bh(WRITE_SYNC, bh);
|
|
gfs2_log_lock(sdp);
|
|
gfs2_log_lock(sdp);
|
|
while(!list_empty(list)) {
|
|
while(!list_empty(list)) {
|
|
bd = list_entry(list->next, struct gfs2_bufdata, bd_le.le_list);
|
|
bd = list_entry(list->next, struct gfs2_bufdata, bd_le.le_list);
|
|
@@ -597,7 +597,7 @@ static void gfs2_write_blocks(struct gfs2_sbd *sdp, struct buffer_head *bh,
|
|
} else {
|
|
} else {
|
|
bh1 = gfs2_log_fake_buf(sdp, bd->bd_bh);
|
|
bh1 = gfs2_log_fake_buf(sdp, bd->bd_bh);
|
|
}
|
|
}
|
|
- submit_bh(WRITE_SYNC_PLUG, bh1);
|
|
|
|
|
|
+ submit_bh(WRITE_SYNC, bh1);
|
|
gfs2_log_lock(sdp);
|
|
gfs2_log_lock(sdp);
|
|
ptr += 2;
|
|
ptr += 2;
|
|
}
|
|
}
|