]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: separate shutdown from ticket reservation print helper
authorBrian Foster <bfoster@redhat.com>
Thu, 15 Jun 2017 04:29:48 +0000 (21:29 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 19 Jun 2017 15:59:10 +0000 (08:59 -0700)
commit7ee57b014435643f202872ffce0c3c27a1667a45
tree106f891a82acaab052b65413940e1e8d3d1ced97
parenta52055bf2ac1bd59bec9af899ff69aad1c354177
xfs: separate shutdown from ticket reservation print helper

xlog_print_tic_res() pre-dates delayed logging and the committed
items list (CIL) and thus retains some factoring warts, such as hard
coded function names in the output and the fact that it induces a
shutdown.

In preparation for more detailed logging of regular transaction
overrun situations, refactor xlog_print_tic_res() to be slightly
more generic. Reword some of the warning messages and pull the
shutdown into the callers.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_log.c
fs/xfs/xfs_log_cil.c