public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
From: wcheng@sourceware.org
To: cluster-cvs@sources.redhat.com
Subject: cluster/gfs-kernel/src/gfs dir.c file.c file.h
Date: Sun, 19 Feb 2006 22:25:00 -0000	[thread overview]
Message-ID: <20060219222504.21441.qmail@sourceware.org> (raw)

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


             reply	other threads:[~2006-02-19 22:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-19 22:25 wcheng [this message]
2006-02-20  3:55 wcheng
2006-02-20  4:10 wcheng

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060219222504.21441.qmail@sourceware.org \
    --to=wcheng@sourceware.org \
    --cc=cluster-cvs@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).