summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2012-07-30 10:06:08 (GMT)
committerSteven Whitehouse <swhiteho@redhat.com>2012-09-13 09:30:58 (GMT)
commit62e252eeefda62eb8cae9f4286270317ab8d5a42 (patch)
treecc7f26be5373eeb7a9489d7d3a17f3a3a88a2f12 /init
parent645b2ccc75d3d15928e3dbfc659659c2b8d4d9a6 (diff)
downloadlinux-fsl-qoriq-62e252eeefda62eb8cae9f4286270317ab8d5a42.tar.xz
GFS2: Take account of blockages when using reserved blocks
The claim_reserved_blks() function was not taking account of the possibility of "blockages" while performing allocation. This can be caused by another node allocating something in the same extent which has been reserved locally. This patch tests for this condition and then skips the remainder of the reservation in this case. This is a relatively rare event, so that it should not affect the general performance improvement which the block reservations provide. The claim_reserved_blks() function also appears not to be able to deal with reservations which cross bitmap boundaries, but that can be dealt with in a future patch since we don't generate boundary crossing reservations currently. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com> Reported-by: David Teigland <teigland@redhat.com> Cc: Bob Peterson <rpeterso@redhat.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions