Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/gfs2/
Dlog.c253 int *max_revokes) in gfs2_ail1_empty_one() argument
287 if (*max_revokes && list_empty(&bd->bd_list)) { in gfs2_ail1_empty_one()
289 (*max_revokes)--; in gfs2_ail1_empty_one()
305 static int gfs2_ail1_empty(struct gfs2_sbd *sdp, int max_revokes) in gfs2_ail1_empty() argument
313 if (!gfs2_ail1_empty_one(sdp, tr, &max_revokes) && oldest_tr) in gfs2_ail1_empty()
715 int max_revokes = (sdp->sd_sb.sb_bsize - sizeof(struct gfs2_log_descriptor)) / sizeof(u64); in gfs2_write_revokes() local
718 while (sdp->sd_log_num_revoke > max_revokes) in gfs2_write_revokes()
719 max_revokes += (sdp->sd_sb.sb_bsize - sizeof(struct gfs2_meta_header)) / sizeof(u64); in gfs2_write_revokes()
720 max_revokes -= sdp->sd_log_num_revoke; in gfs2_write_revokes()
732 gfs2_ail1_empty(sdp, max_revokes); in gfs2_write_revokes()
Dglops.c149 …unsigned int max_revokes = (sdp->sd_sb.sb_bsize - sizeof(struct gfs2_log_descriptor)) / sizeof(u64… in gfs2_ail_flush() local
155 while (revokes > max_revokes) in gfs2_ail_flush()
156 max_revokes += (sdp->sd_sb.sb_bsize - sizeof(struct gfs2_meta_header)) / sizeof(u64); in gfs2_ail_flush()
158 ret = gfs2_trans_begin(sdp, 0, max_revokes); in gfs2_ail_flush()
161 __gfs2_ail_flush(gl, fsync, max_revokes); in gfs2_ail_flush()