aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2009-04-23 08:59:41 +0100
committerSteven Whitehouse <swhiteho@redhat.com>2009-04-23 10:07:37 +0100
commitd9ba7615bfd8bb06f79c853f9dfff9e93a837941 (patch)
tree647f6078a7804a53b4902b90942864942e9d425b /lib
parentGFS2: Fix bug in block allocation (diff)
downloadlinux-dev-d9ba7615bfd8bb06f79c853f9dfff9e93a837941.tar.xz
linux-dev-d9ba7615bfd8bb06f79c853f9dfff9e93a837941.zip
GFS2: Ensure that the inode goal block settings are updated
GFS2 has a goal block associated with each inode indicating the search start position for future block allocations (in fact there are two, but thats for backward compatibility with GFS1 as they are set to identical locations in GFS2). In some circumstances, depending on the ordering of updates to the inode it was possible for the goal block settings to not be updated on disk. This patch ensures that the goal block will always get updated, thus reducing the potential for searching the same (already allocated) blocks again when looking for free space during block allocation. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions