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/gfs-kernel/src/gfs dir.c file.c file.h


CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	wcheng@sourceware.org	2006-02-20 04:10:34

Modified files:
	gfs-kernel/src/gfs: dir.c file.c file.h 

Log message:
	Bugzilla 182057 - patch 3-1:
	Fixes directory delete out of memory error. Found in customer environment
	where gfs_inoded is deleting a max size of hash unit (0xffff entries). It
	hangs in leaf_free() during gmalloc while kmallocing 0xffff*sizeof(uint64_t)
	(=512K) of memroy. It did a kmalloc, zeroed out the buffer, then copied the
	zeroed contents into bh buffer and subsequently sent the bh into gfs_writei
	to write out to disk. This patch removes the unnecessary kmalloc plus the
	memory copy by directly zero out the bh buffer.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs-kernel/src/gfs/dir.c.diff?cvsroot=cluster&r1=1.10&r2=1.11
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs-kernel/src/gfs/file.c.diff?cvsroot=cluster&r1=1.6&r2=1.7
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs-kernel/src/gfs/file.h.diff?cvsroot=cluster&r1=1.2&r2=1.3


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