FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Cluster Development

LinkBack Thread Tools
Old 07-31-2012, 12:41 PM
Bob Peterson
Default GFS2: Take account of blockages when using reserved blocks

----- Original Message -----
| 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>


ACK to both patches.

I've done a fair amount of testing with these two patches.


Bob Peterson
Red Hat File Systems

Thread Tools

All times are GMT. The time now is 05:15 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org