summaryrefslogtreecommitdiff
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2018-06-24 17:04:04 +0300
committerAndreas Gruenbacher <agruenba@redhat.com>2018-07-02 18:27:17 +0300
commit64bc06bb32ee9cf458f432097113c8b495d75757 (patch)
treec87afdeaf0cd1c34ad4cf57c64a9a2c4678d84da /fs/jbd2/commit.c
parentd505a96a3b16f46455035dc0296bc2da6014e163 (diff)
downloadlinux-64bc06bb32ee9cf458f432097113c8b495d75757.tar.xz
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 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions