xfs: trace log reservations at mount time
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 8 Jan 2018 18:51:26 +0000 (10:51 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 8 Jan 2018 18:54:47 +0000 (10:54 -0800)
commitb872af2c8700e9d64af8e13811b7679ede26ca00
tree4103063960024e42ace09c208cf2bca45d08f09c
parent9c712a1346b214a92f4a0e5bb4de4c075de65c32
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>
fs/xfs/libxfs/xfs_log_rlimit.c
fs/xfs/libxfs/xfs_shared.h
fs/xfs/xfs_trace.h
fs/xfs/xfs_trans.c