]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[GFS2] Function meta_read optimization
authorBob Peterson <rpeterso@redhat.com>
Wed, 12 Dec 2007 01:29:17 +0000 (19:29 -0600)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 25 Jan 2008 08:14:33 +0000 (08:14 +0000)
commit15c7cee7995a9013f1b2f31a15b70e1d2e8ae501
tree22646442ffd942d77fc34f168d270e7bd2668643
parentb0d5fd307463405fe1f57494fbb37f810715ed6d
[GFS2] Function meta_read optimization

This patch optimizes function gfs2_meta_read.  Basically, gfs2_meta_wait
was being called regardless of whether a disk read was requested.
This just pulls that wait into the if that triggers the read.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/meta_io.c