Loading fs/xfs/libxfs/xfs_defer.c +1 −1 Original line number Diff line number Diff line Loading @@ -565,7 +565,7 @@ xfs_defer_relog( continue; trace_xfs_defer_relog_intent((*tpp)->t_mountp, dfp); XFS_STATS_INC((*tpp)->t_mountp, defer_relog); XFS_STATS_INC((*tpp)->t_mountp, xs_defer_relog); xfs_defer_relog_intent(*tpp, dfp); } Loading fs/xfs/xfs_stats.c +3 −3 Original line number Diff line number Diff line Loading @@ -23,7 +23,7 @@ int xfs_stats_format(struct xfsstats __percpu *stats, char *buf) uint64_t xs_xstrat_bytes = 0; uint64_t xs_write_bytes = 0; uint64_t xs_read_bytes = 0; uint64_t defer_relog = 0; uint64_t xs_defer_relog = 0; static const struct xstats_entry { char *desc; Loading Loading @@ -76,13 +76,13 @@ int xfs_stats_format(struct xfsstats __percpu *stats, char *buf) xs_xstrat_bytes += per_cpu_ptr(stats, i)->s.xs_xstrat_bytes; xs_write_bytes += per_cpu_ptr(stats, i)->s.xs_write_bytes; xs_read_bytes += per_cpu_ptr(stats, i)->s.xs_read_bytes; defer_relog += per_cpu_ptr(stats, i)->s.defer_relog; xs_defer_relog += per_cpu_ptr(stats, i)->s.xs_defer_relog; } len += scnprintf(buf + len, PATH_MAX-len, "xpc %llu %llu %llu\n", xs_xstrat_bytes, xs_write_bytes, xs_read_bytes); len += scnprintf(buf + len, PATH_MAX-len, "defer_relog %llu\n", defer_relog); xs_defer_relog); len += scnprintf(buf + len, PATH_MAX-len, "debug %u\n", #if defined(DEBUG) 1); Loading fs/xfs/xfs_stats.h +1 −1 Original line number Diff line number Diff line Loading @@ -142,7 +142,7 @@ struct __xfsstats { uint64_t xs_xstrat_bytes; uint64_t xs_write_bytes; uint64_t xs_read_bytes; uint64_t defer_relog; uint64_t xs_defer_relog; }; #define xfsstats_offset(f) (offsetof(struct __xfsstats, f)/sizeof(uint32_t)) Loading Loading
fs/xfs/libxfs/xfs_defer.c +1 −1 Original line number Diff line number Diff line Loading @@ -565,7 +565,7 @@ xfs_defer_relog( continue; trace_xfs_defer_relog_intent((*tpp)->t_mountp, dfp); XFS_STATS_INC((*tpp)->t_mountp, defer_relog); XFS_STATS_INC((*tpp)->t_mountp, xs_defer_relog); xfs_defer_relog_intent(*tpp, dfp); } Loading
fs/xfs/xfs_stats.c +3 −3 Original line number Diff line number Diff line Loading @@ -23,7 +23,7 @@ int xfs_stats_format(struct xfsstats __percpu *stats, char *buf) uint64_t xs_xstrat_bytes = 0; uint64_t xs_write_bytes = 0; uint64_t xs_read_bytes = 0; uint64_t defer_relog = 0; uint64_t xs_defer_relog = 0; static const struct xstats_entry { char *desc; Loading Loading @@ -76,13 +76,13 @@ int xfs_stats_format(struct xfsstats __percpu *stats, char *buf) xs_xstrat_bytes += per_cpu_ptr(stats, i)->s.xs_xstrat_bytes; xs_write_bytes += per_cpu_ptr(stats, i)->s.xs_write_bytes; xs_read_bytes += per_cpu_ptr(stats, i)->s.xs_read_bytes; defer_relog += per_cpu_ptr(stats, i)->s.defer_relog; xs_defer_relog += per_cpu_ptr(stats, i)->s.xs_defer_relog; } len += scnprintf(buf + len, PATH_MAX-len, "xpc %llu %llu %llu\n", xs_xstrat_bytes, xs_write_bytes, xs_read_bytes); len += scnprintf(buf + len, PATH_MAX-len, "defer_relog %llu\n", defer_relog); xs_defer_relog); len += scnprintf(buf + len, PATH_MAX-len, "debug %u\n", #if defined(DEBUG) 1); Loading
fs/xfs/xfs_stats.h +1 −1 Original line number Diff line number Diff line Loading @@ -142,7 +142,7 @@ struct __xfsstats { uint64_t xs_xstrat_bytes; uint64_t xs_write_bytes; uint64_t xs_read_bytes; uint64_t defer_relog; uint64_t xs_defer_relog; }; #define xfsstats_offset(f) (offsetof(struct __xfsstats, f)/sizeof(uint32_t)) Loading