aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorGao Xiang <hsiangkao@redhat.com>2020-09-22 09:41:06 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2020-09-23 09:24:17 -0700
commit0c771b99d6c9a0552fea5cc43669b726dad8f659 (patch)
tree8775cccc27bdeba0eedc87f82d99cd2ff44cac7f /tools/perf/scripts/python/export-to-postgresql.py
parentxfs: avoid LR buffer overrun due to crafted h_len (diff)
downloadwireguard-linux-0c771b99d6c9a0552fea5cc43669b726dad8f659.tar.xz
wireguard-linux-0c771b99d6c9a0552fea5cc43669b726dad8f659.zip
xfs: clean up calculation of LR header blocks
Let's use DIV_ROUND_UP() to calculate log record header blocks as what did in xlog_get_iclog_buffer_size() and wrap up a common helper for log recovery. Reviewed-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Gao Xiang <hsiangkao@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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions