]> git.baikalelectronics.ru Git - kernel.git/commit
GFS2: Streamline alloc calculations for writes
authorSteven Whitehouse <swhiteho@redhat.com>
Wed, 10 Dec 2008 10:28:10 +0000 (10:28 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 5 Jan 2009 07:39:17 +0000 (07:39 +0000)
commit3766ef2c16b94a8c471bee52d0756909e5a7c826
treeaa9976f47cf34b0b6d267654e74b9ea4f7a29d75
parent79c8b6077589ff33f0868772a740b2efb3c4ed5a
GFS2: Streamline alloc calculations for writes

This patch removes some unused code, and make the calculation
of the number of blocks required conditional in order to reduce
the number of times this (potentially expensive) calculation
is done.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/bmap.c
fs/gfs2/bmap.h
fs/gfs2/ops_address.c
fs/gfs2/ops_file.c