Skip to content

Get rid of gfs2_write_calc_reserv in gfs2_iomap_begin_write

Andreas Gruenbacher cluster-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8gfs2: Don't depend on mp_aheight in clone_metapathfs/gfs2/bmap.c+4 -10 replies
2/8gfs2: Split gfs2_indirect_initfs/gfs2/bmap.c+19 -130 replies
3/8gfs2: Move empty inode check out of gfs2_unstuff_dinodefs/gfs2/bmap.c+58 -320 replies
4/8gfs2: Don't create unnecessary indirect blocksfs/gfs2/bmap.c+40 -210 replies
5/8gfs2: Improve gfs2_alloc_size for stuffed filesfs/gfs2/bmap.c+24 -250 replies
6/8gfs2: Rename size to len in gfs2_alloc_sizefs/gfs2/bmap.c+11 -110 replies
7/8gfs2: Move gfs2_alloc_size out of gfs2_iomap_getfs/gfs2/bmap.c+14 -220 replies
8/8gfs2: Get rid of gfs2_write_calc_reserv in gfs2_iomap_begin_writefs/gfs2/bmap.c+71 -420 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Cluster-devel] [PATCH 0/8] Get rid of gfs2_write_calc_reserv in gfs2_iomap_begin_write

Following several cleanups, this is a first step towards being more accurate in the number of blocks we reserve in the journal. I hope this part of the code is easier to understand now as well.

Thanks,
Andreas

Andreas Gruenbacher (8):
gfs2: Don't depend on mp_aheight in clone_metapath
gfs2: Split gfs2_indirect_init
gfs2: Move empty inode check out of gfs2_unstuff_dinode
gfs2: Don't create unnecessary indirect blocks
gfs2: Improve gfs2_alloc_size for stuffed files
gfs2: Rename size to len in gfs2_alloc_size
gfs2: Move gfs2_alloc_size out of gfs2_iomap_get
gfs2: Get rid of gfs2_write_calc_reserv in gfs2_iomap_begin_write

 fs/gfs2/bmap.c | 336 ++++++++++++++++++++++++++++++-------------------
 1 file changed, 205 insertions(+), 131 deletions(-)
Signature · 1 line
2.17.1