summaryrefslogtreecommitdiffstats
path: root/fs/xfs/libxfs/xfs_log_rlimit.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2018-01-08 10:51:26 -0800
committerDarrick J. Wong <darrick.wong@oracle.com>2018-01-08 10:54:47 -0800
commitb872af2c8700e9d64af8e13811b7679ede26ca00 (patch)
tree4103063960024e42ace09c208cf2bca45d08f09c /fs/xfs/libxfs/xfs_log_rlimit.c
parent9c712a1346b214a92f4a0e5bb4de4c075de65c32 (diff)
downloadtalos-op-linux-b872af2c8700e9d64af8e13811b7679ede26ca00.tar.gz
talos-op-linux-b872af2c8700e9d64af8e13811b7679ede26ca00.zip
xfs: trace log reservations at mount time
At each mount, emit the transaction reservation type information via tracepoints. This makes it easier to compare the log reservation info calculated by the kernel and xfsprogs so that we can more easily diagnose minimum log size failures on freshly formatted filesystems. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Brian Foster <bfoster@redhat.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_log_rlimit.c')
-rw-r--r--fs/xfs/libxfs/xfs_log_rlimit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/libxfs/xfs_log_rlimit.c b/fs/xfs/libxfs/xfs_log_rlimit.c
index c10597973333..cc4cbe290939 100644
--- a/fs/xfs/libxfs/xfs_log_rlimit.c
+++ b/fs/xfs/libxfs/xfs_log_rlimit.c
@@ -55,7 +55,7 @@ xfs_log_calc_max_attrsetm_res(
* the maximum one in terms of the pre-calculated values which were done
* at mount time.
*/
-STATIC void
+void
xfs_log_get_max_trans_res(
struct xfs_mount *mp,
struct xfs_trans_res *max_resp)
OpenPOWER on IntegriCloud