Searched refs:max_revokes (Results 1 – 2 of 2) sorted by relevance
117 …unsigned int max_revokes = (sdp->sd_sb.sb_bsize - sizeof(struct gfs2_log_descriptor)) / sizeof(u64… in gfs2_ail_flush() local123 while (revokes > max_revokes) in gfs2_ail_flush()124 max_revokes += (sdp->sd_sb.sb_bsize - sizeof(struct gfs2_meta_header)) / sizeof(u64); in gfs2_ail_flush()126 ret = gfs2_trans_begin(sdp, 0, max_revokes); in gfs2_ail_flush()129 __gfs2_ail_flush(gl, fsync, max_revokes); in gfs2_ail_flush()
599 int max_revokes = (sdp->sd_sb.sb_bsize - sizeof(struct gfs2_log_descriptor)) / sizeof(u64); in gfs2_write_revokes() local615 while (sdp->sd_log_num_revoke > max_revokes) in gfs2_write_revokes()616 max_revokes += (sdp->sd_sb.sb_bsize - sizeof(struct gfs2_meta_header)) / sizeof(u64); in gfs2_write_revokes()617 max_revokes -= sdp->sd_log_num_revoke; in gfs2_write_revokes()629 if (max_revokes == 0) in gfs2_write_revokes()634 max_revokes--; in gfs2_write_revokes()