Searched refs:max_revokes (Results 1 – 2 of 2) sorted by relevance
143 …unsigned int max_revokes = (sdp->sd_sb.sb_bsize - sizeof(struct gfs2_log_descriptor)) / sizeof(u64… in gfs2_ail_flush() local149 while (revokes > max_revokes) in gfs2_ail_flush()150 max_revokes += (sdp->sd_sb.sb_bsize - sizeof(struct gfs2_meta_header)) / sizeof(u64); in gfs2_ail_flush()152 ret = gfs2_trans_begin(sdp, 0, max_revokes); in gfs2_ail_flush()155 __gfs2_ail_flush(gl, fsync, max_revokes); in gfs2_ail_flush()
625 int max_revokes = (sdp->sd_sb.sb_bsize - sizeof(struct gfs2_log_descriptor)) / sizeof(u64); in gfs2_write_revokes() local641 while (sdp->sd_log_num_revoke > max_revokes) in gfs2_write_revokes()642 max_revokes += (sdp->sd_sb.sb_bsize - sizeof(struct gfs2_meta_header)) / sizeof(u64); in gfs2_write_revokes()643 max_revokes -= sdp->sd_log_num_revoke; in gfs2_write_revokes()655 if (max_revokes == 0) in gfs2_write_revokes()660 max_revokes--; in gfs2_write_revokes()