summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/export-to-postgresql-record
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-06-28 19:27:20 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2019-06-28 19:27:20 -0700
commit4f62282a369642b992771e78273a023769bf0d9a (patch)
treea323688ef02a04a54eba2d8442fc43bc66cdafa1 /tools/perf/scripts/python/bin/export-to-postgresql-record
parent76ce9823acf32ce446d1244a6cc01d4796492e31 (diff)
downloadlinux-4f62282a369642b992771e78273a023769bf0d9a.tar.gz
linux-4f62282a369642b992771e78273a023769bf0d9a.zip
xfs: cleanup xlog_get_iclog_buffer_size
We don't really need all the messy branches in the function, as it really does three things, out of which 2 are common for all branches: 1) set up mount point log buffer size and count values if not already done from mount options 2) calculate the number of log headers 3) set up all the values in struct xlog based on the above Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-record')
0 files changed, 0 insertions, 0 deletions