]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit982d573a0dc89aa134d07230458bda478888fc4b
tree4103063960024e42ace09c208cf2bca45d08f09c
parent1b049ec13bbb1f7b6daa02ed2dc18971c8176184
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