]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
GFS2: If we use up our block reservation, request more next time
authorBob Peterson <rpeterso@redhat.com>
Wed, 29 Oct 2014 13:02:30 +0000 (08:02 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 3 Nov 2014 19:26:54 +0000 (19:26 +0000)
commit1a8550332a7f0111306b6b34e44a7c696ef68c4d
tree030b657ece5e651d86e27065107a79b416d89ec8
parent33ad5d54284adf110f6e78aa9c4f42d3d17d7f68
GFS2: If we use up our block reservation, request more next time

If we run out of blocks for a given multi-block allocation, we obviously
did not reserve enough. We should reserve more blocks for the next
reservation to reduce fragmentation. This patch increases the size hint
for reservations when they run out.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/rgrp.c
fs/gfs2/rgrp.h