summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/file.c
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2011-03-10 17:41:57 +0100
committerSteven Whitehouse <swhiteho@redhat.com>2011-03-11 10:24:54 +0100
commitfa1bbdea300a15ec7c1186a5e53de33a5b1672f5 (patch)
tree7b10ada8427c40494bd752817f5ad9dc7f7db35d /fs/gfs2/file.c
parentGFS2: Remove potential race in flock code (diff)
downloadlinux-fa1bbdea300a15ec7c1186a5e53de33a5b1672f5.tar.xz
linux-fa1bbdea300a15ec7c1186a5e53de33a5b1672f5.zip
GFS2: Optimize glock multiple-dequeue code
This is a small patch that optimizes multiple glock dequeue operations. It changes the unlock order to be more efficient and makes it easier for lock debugging tools to unravel. It also eliminates the need for the temp variable x, although that would likely be optimized out. Signed-off-by: Bob Peterson <rpeterso@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions