All of lore.kernel.org
 help / color / mirror / Atom feed
From: teigland@sourceware.org <teigland@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster/dlm-kernel/src lowcomms.c
Date: 26 Sep 2006 16:39:08 -0000	[thread overview]
Message-ID: <20060926163908.22011.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL4U4
Changes by:	teigland at sourceware.org	2006-09-26 16:39:07

Modified files:
	dlm-kernel/src : lowcomms.c 

Log message:
	Copy the following change from the RHEL4 branch which removes
	CBUF_MAY_ADD(20) from dlm lowcomms:
	
	"Remove check for small packets as it seems to cause problems with
	some customer sites.
	Ref: bz#204146"

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/dlm-kernel/src/lowcomms.c.diff?cvsroot=cluster&only_with_tag=RHEL4U4&r1=1.22.2.12&r2=1.22.2.12.2.1

--- cluster/dlm-kernel/src/Attic/lowcomms.c	2005/12/20 11:16:40	1.22.2.12
+++ cluster/dlm-kernel/src/Attic/lowcomms.c	2006/09/26 16:39:07	1.22.2.12.2.1
@@ -350,13 +350,6 @@
 		CBUF_INIT(&con->cb, PAGE_CACHE_SIZE);
 	}
 
-	/*
-	 * To avoid doing too many short reads, we will reschedule for
-	 * another time if there are less than 20 bytes left in the buffer.
-	 */
-	if (!CBUF_MAY_ADD(&con->cb, 20))
-		goto out_resched;
-
 	msg.msg_control = NULL;
 	msg.msg_controllen = 0;
 	msg.msg_iovlen = 1;



             reply	other threads:[~2006-09-26 16:39 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-26 16:39 teigland [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-11-07 18:55 [Cluster-devel] cluster/dlm-kernel/src lowcomms.c lhh
2007-11-07 15:24 lhh
2007-11-07 15:22 lhh
2007-10-30 17:42 lhh
2007-10-30 17:41 lhh
2007-08-13 20:09 pcaulfield
2007-08-13 20:07 pcaulfield
2007-08-06 14:46 pcaulfield
2007-08-06 14:40 pcaulfield
2007-07-16  9:27 pcaulfield
2007-07-16  9:26 pcaulfield
2007-06-27 12:38 pcaulfield
2007-06-27 10:39 pcaulfield
2006-09-12 14:48 pcaulfield

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=20060926163908.22011.qmail@sourceware.org \
    --to=teigland@sourceware.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.