This is the mail archive of the cluster-cvs@sourceware.org mailing list for the cluster.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]