diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2020-09-26 03:39:58 +0300 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-10-07 18:40:29 +0300 |
commit | 74f4d6a1e065c92428c5b588099e307a582d79d9 (patch) | |
tree | c16022a929ed47e22f1514f40cadc44720316326 /fs/affs | |
parent | ed1575daf71e4e21d8ae735b6e687c95454aaa17 (diff) | |
download | linux-74f4d6a1e065c92428c5b588099e307a582d79d9.tar.xz |
xfs: only relog deferred intent items if free space in the log gets low
Now that we have the ability to ask the log how far the tail needs to be
pushed to maintain its free space targets, augment the decision to relog
an intent item so that we only do it if the log has hit the 75% full
threshold. There's no point in relogging an intent into the same
checkpoint, and there's no need to relog if there's plenty of free space
in the log.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Diffstat (limited to 'fs/affs')
0 files changed, 0 insertions, 0 deletions