public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster/gfs-kernel/src/gfs dir.c file.c file.h
@ 2006-02-20  3:55 wcheng
  0 siblings, 0 replies; 3+ messages in thread
From: wcheng @ 2006-02-20  3:55 UTC (permalink / raw)
  To: cluster-cvs

CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	STABLE
Changes by:	wcheng@sourceware.org	2006-02-20 03:55:31

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&only_with_tag=STABLE&r1=1.8.6.1&r2=1.8.6.1.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs-kernel/src/gfs/file.c.diff?cvsroot=cluster&only_with_tag=STABLE&r1=1.4.6.1&r2=1.4.6.1.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs-kernel/src/gfs/file.h.diff?cvsroot=cluster&only_with_tag=STABLE&r1=1.2&r2=1.2.8.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* cluster/gfs-kernel/src/gfs dir.c file.c file.h
@ 2006-02-20  4:10 wcheng
  0 siblings, 0 replies; 3+ messages in thread
From: wcheng @ 2006-02-20  4:10 UTC (permalink / raw)
  To: cluster-cvs

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* cluster/gfs-kernel/src/gfs dir.c file.c file.h
@ 2006-02-19 22:25 wcheng
  0 siblings, 0 replies; 3+ messages in thread
From: wcheng @ 2006-02-19 22:25 UTC (permalink / raw)
  To: cluster-cvs

CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL4
Changes by:	wcheng@sourceware.org	2006-02-19 22:25:04

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&only_with_tag=RHEL4&r1=1.8.2.2&r2=1.8.2.3
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs-kernel/src/gfs/file.c.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.4.2.2&r2=1.4.2.3
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs-kernel/src/gfs/file.h.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.2.2.1&r2=1.2.2.2


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-02-20  4:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-20  3:55 cluster/gfs-kernel/src/gfs dir.c file.c file.h wcheng
  -- strict thread matches above, loose matches on Subject: below --
2006-02-20  4:10 wcheng
2006-02-19 22:25 wcheng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).