Home
last modified time | relevance | path

Searched refs:max_revokes (Results 1 – 2 of 2) sorted by relevance

/fs/gfs2/
Dglops.c117 …unsigned int max_revokes = (sdp->sd_sb.sb_bsize - sizeof(struct gfs2_log_descriptor)) / sizeof(u64… in gfs2_ail_flush() local
123 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()
Dlog.c599 int max_revokes = (sdp->sd_sb.sb_bsize - sizeof(struct gfs2_log_descriptor)) / sizeof(u64); in gfs2_write_revokes() local
615 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()