]> Pileus Git - ~andy/linux/commit
GFS2: Fall back to ignoring reservations, if there are no other blocks left
authorSteven Whitehouse <swhiteho@redhat.com>
Thu, 23 Aug 2012 12:43:40 +0000 (13:43 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 24 Sep 2012 09:47:19 +0000 (10:47 +0100)
commit137834a696fd51ef8c710a0ad854b585027c7df0
tree0da5dec3a8b95ac287de39038bbcd903673461e4
parent2b9731e8bb1bdc6b9da149f4e482a071747207f3
GFS2: Fall back to ignoring reservations, if there are no other blocks left

When we get to the stage of allocating blocks, we know that the
resource group in question must contain enough free blocks, otherwise
gfs2_inplace_reserve() would have failed. So if we are left with only
free blocks which are reserved, then we must use those. This can happen
if another node has sneeked in and use some blocks reserved on this
node, for example. Generally this will happen very rarely and only
when the resouce group is nearly full.

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