diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2020-09-22 08:39:29 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-10-10 10:57:54 -0700 |
commit | 642db2207df3cc092c85e9a7dc0f46b929ee223c (patch) | |
tree | 769dd3290e88dfa128387978936fb44c62634013 /fs/xfs/xfs_trans.h | |
parent | 4838246c5184c9bbd213e87943917e55f39bb2e4 (diff) |
xfs: expose the log push threshold
Separate the computation of the log push threshold and the push logic in
xlog_grant_push_ail. This enables higher level code to determine (for
example) that it is holding on to a logged intent item and the log is so
busy that it is more than 75% full. In that case, it would be desirable
to move the log item towards the head to release the tail, which we will
cover in the next patch.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Diffstat (limited to 'fs/xfs/xfs_trans.h')
0 files changed, 0 insertions, 0 deletions