This is the mail archive of the
cluster-cvs@sourceware.org
mailing list for the cluster.
cluster/gfs2-kernel/src/gfs2 bmap.c
- From: swhiteho at sourceware dot org
- To: cluster-cvs at sources dot redhat dot com
- Date: 8 Dec 2005 09:39:35 -0000
- Subject: cluster/gfs2-kernel/src/gfs2 bmap.c
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: swhiteho@sourceware.org 2005-12-08 09:39:35
Modified files:
gfs2-kernel/src/gfs2: bmap.c
Log message:
This patch removes an allocation of memory which was occuring on every lookup
of a block in a file. The memory requires is now allocated on the stack
and its only 20 bytes. A lot less than some of the other stack allocated
structures we are using (e.g. struct gfs2_holder) in the code.
It should speed things up and removes one of the __GFS_NOFAIL allocations
that we need to remove from the code.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2-kernel/src/gfs2/bmap.c.diff?cvsroot=cluster&r1=1.25&r2=1.26