Skip to content

Commit b57bc0f

Browse files
AstralBobAndreas Gruenbacher
authored andcommitted
gfs2: Fix inaccurate comment
The comment regarding journal flush thresholds is wrong. This patch fixes it. Signed-off-by: Bob Peterson <[email protected]> Signed-off-by: Andreas Gruenbacher <[email protected]>
1 parent c9dff08 commit b57bc0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/gfs2/log.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1092,7 +1092,7 @@ static void log_refund(struct gfs2_sbd *sdp, struct gfs2_trans *tr)
10921092
* or the total number of used blocks (pinned blocks plus AIL blocks)
10931093
* is greater than thresh2.
10941094
*
1095-
* At mount time thresh1 is 1/3rd of journal size, thresh2 is 2/3rd of
1095+
* At mount time thresh1 is 2/5ths of journal size, thresh2 is 4/5ths of
10961096
* journal size.
10971097
*
10981098
* Returns: errno

0 commit comments

Comments
 (0)