diff options
author | 2018-06-24 15:04:04 +0100 | |
---|---|---|
committer | 2018-07-02 16:27:17 +0100 | |
commit | 64bc06bb32ee9cf458f432097113c8b495d75757 (patch) | |
tree | c87afdeaf0cd1c34ad4cf57c64a9a2c4678d84da /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gfs2: Further iomap cleanups (diff) | |
download | linux-dev-64bc06bb32ee9cf458f432097113c8b495d75757.tar.xz linux-dev-64bc06bb32ee9cf458f432097113c8b495d75757.zip |
gfs2: iomap buffered write support
With the traditional page-based writes, blocks are allocated separately
for each page written to. With iomap writes, we can allocate a lot more
blocks at once, with a fraction of the allocation overhead for each
page.
Split calculating the number of blocks that can be allocated at a given
position (gfs2_alloc_size) off from gfs2_iomap_alloc: that size
determines the number of blocks to allocate and reserve in the journal.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Reviewed-by: Bob Peterson <rpeterso@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions