summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/aops.h
Commit message (Collapse)AuthorAgeFilesLines
* gfs2: mark stuffed_readpage staticChristoph Hellwig2019-07-031-1/+0
| | | | | Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
* gfs2: remove the unused gfs2_stuffed_write_end functionChristoph Hellwig2019-07-031-3/+0
| | | | | | | | This function was overlooked when the write_begin and write_end address space operations were removed as part of gfs2's iomap conversion. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
* gfs2: iomap buffered write supportAndreas Gruenbacher2018-07-021-0/+19
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>