]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
GFS2: Log the reason for log flushes in every log header
authorBob Peterson <rpeterso@redhat.com>
Mon, 8 Jan 2018 15:34:17 +0000 (10:34 -0500)
committerBob Peterson <rpeterso@redhat.com>
Tue, 23 Jan 2018 14:39:20 +0000 (07:39 -0700)
commit805c090750a315c5443c14e06304e19a01c697a0
tree2cb72f782264f06b26392d043197b981179e3894
parentc1696fb85d33194cf65c7ebfc82a75696299c3a3
GFS2: Log the reason for log flushes in every log header

This patch just adds the capability for GFS2 to track which function
called gfs2_log_flush. This should make it easier to diagnose
problems based on the sequence of events found in the journals.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Reviewed-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/aops.c
fs/gfs2/file.c
fs/gfs2/glops.c
fs/gfs2/log.c
fs/gfs2/ops_fstype.c
fs/gfs2/quota.c
fs/gfs2/rgrp.c
fs/gfs2/super.c
fs/gfs2/trace_gfs2.h
fs/gfs2/trans.c
include/uapi/linux/gfs2_ondisk.h