summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2020-09-21 08:58:40 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2020-09-21 08:59:26 -0700
commit0a195b91e8991367a94ee199f3af7faa7607e7db (patch)
tree25e7c055e0621e64a0e09479cd505dd1a6083168 /tools/perf/scripts/python/export-to-sqlite.py
parentb21866f514cb50bd75614851a8d066398a114cab (diff)
iomap: Support arbitrarily many blocks per page
Size the uptodate array dynamically to support larger pages in the page cache. With a 64kB page, we're only saving 8 bytes per page today, but with a 2MB maximum page size, we'd have to allocate more than 4kB per page. Add a few debugging assertions. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> 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> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions