[3932] in arla-drinkers

home help back first fref pref prev next nref lref last post

Re: 4GB read limit with 0.42 and NetBSD 3.0/i386

daemon@ATHENA.MIT.EDU (Harald Barth)
Fri May 26 04:42:03 2006

From arla-drinkers-bounces@stacken.kth.se Fri May 26 08:42:03 2006
Return-Path: <arla-drinkers-bounces@stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 29160 invoked from network); 26 May 2006 08:42:03 -0000
Received: from mx2.kth.se (130.237.48.98)
  by charon.mit.edu with SMTP; 26 May 2006 08:42:03 -0000
Received: from localhost (localhost.localdomain [127.0.0.1])
	by mx2.kth.se (Postfix) with ESMTP id CDC3B145604;
	Fri, 26 May 2006 10:42:01 +0200 (CEST)
Received: from mx2.kth.se ([127.0.0.1])
 by localhost (mx2.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP
 id 08778-01-31; Fri, 26 May 2006 10:42:00 +0200 (CEST)
Received: from tapas.stacken.kth.se (tapas.stacken.kth.se [130.237.234.140])
	by mx2.kth.se (Postfix) with ESMTP id 60A6A142738;
	Fri, 26 May 2006 10:42:00 +0200 (CEST)
Received: from tapas.stacken.kth.se (localhost [127.0.0.1])
	by tapas.stacken.kth.se (Postfix) with ESMTP id 25114534FC;
	Fri, 26 May 2006 10:42:00 +0200 (CEST)
X-Original-To: arla-drinkers@tapas.stacken.kth.se
Delivered-To: arla-drinkers@tapas.stacken.kth.se
Received: from brev.stacken.kth.se (brev.stacken.kth.se [130.237.234.84])
	by tapas.stacken.kth.se (Postfix) with ESMTP id 45247534FC
	for <arla-drinkers@tapas.stacken.kth.se>;
	Fri, 26 May 2006 10:41:59 +0200 (CEST)
Received: from mx3.kth.se (mx3.kth.se [130.237.48.97])
	by brev.stacken.kth.se (8.12.10/8.12.10) with ESMTP id k4Q8fwxx003135
	for <arla-drinkers@stacken.kth.se>;
	Fri, 26 May 2006 10:41:58 +0200 (MET DST)
Received: from localhost (localhost.localdomain [127.0.0.1])
	by mx3.kth.se (Postfix) with ESMTP id 8080314070E
	for <arla-drinkers@stacken.kth.se>;
	Fri, 26 May 2006 10:41:58 +0200 (CEST)
Received: from mx3.kth.se ([127.0.0.1])
	by localhost (mx3.kth.se [127.0.0.1]) (amavisd-new,
	port 10024) with LMTP
	id 25346-01-43 for <arla-drinkers@stacken.kth.se>;
	Fri, 26 May 2006 10:41:57 +0200 (CEST)
Received: from habarber.pdc.kth.se (habitude.stacken.kth.se [130.237.237.21])
	by mx3.kth.se (Postfix) with ESMTP id 855F01407C5
	for <arla-drinkers@stacken.kth.se>;
	Fri, 26 May 2006 10:41:56 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by habarber.pdc.kth.se (8.13.3/8.13.3) with ESMTP id k4Q8fvou029371
	for <arla-drinkers@stacken.kth.se>; Fri, 26 May 2006 10:41:57 +0200
Date: Fri, 26 May 2006 10:41:37 +0200 (MEST)
Message-Id: <20060526.104137.39482268.haba@habarber.pdc.kth.se>
To: arla-drinkers@stacken.kth.se
Subject: Re: 4GB read limit with 0.42 and NetBSD 3.0/i386
From: Harald Barth <haba@pdc.kth.se>
In-Reply-To: <lsrlksqqvhl.fsf@kashyyyk.ite.kth.se>
References: <20060520051831.GA289@menelos.com>
	<lsrlksqqvhl.fsf@kashyyyk.ite.kth.se>
X-Mailer: Mew version 4.2 on Emacs 21.4 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
X-Virus-Scanned: by amavisd-new at kth.se
X-Spam-Status: No, hits=-4.9 tagged_above=-200.0 required=5.0 tests=BAYES_00
X-Spam-Level: 
X-BeenThere: arla-drinkers@stacken.kth.se
X-Mailman-Version: 2.1.6
Precedence: list
List-Id: Arla discussions <arla-drinkers.stacken.kth.se>
List-Unsubscribe: <https://lists.stacken.kth.se/mailman/listinfo/arla-drinkers>, 
	<mailto:arla-drinkers-request@stacken.kth.se?subject=unsubscribe>
List-Archive: <http://lists.stacken.kth.se/pipermail/arla-drinkers>
List-Post: <mailto:arla-drinkers@stacken.kth.se>
List-Help: <mailto:arla-drinkers-request@stacken.kth.se?subject=help>
List-Subscribe: <https://lists.stacken.kth.se/mailman/listinfo/arla-drinkers>, 
	<mailto:arla-drinkers-request@stacken.kth.se?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: arla-drinkers-bounces@stacken.kth.se
Errors-To: arla-drinkers-bounces@stacken.kth.se
X-Virus-Scanned: by amavisd-new at kth.se


> cvs rdiff -r1.5 -r1.6 arla/arlad/stats.h
> cvs rdiff -r1.12 -r1.13 arla/arlad/stats.c
> cvs rdiff -r1.99 -r1.100 arla/arlad/arla_local.h

Great Tol!

I combined this to the following which applies on
an arla 0.42 source:

patch -p1 < /afs/pdc.kth.se/home/h/haba/Public/arlad-fetch_block_size-64.patch

The actual value which was destroyed was wanted_lenght fcache.c:2438

2437    /* figure out how much more then we need we want to fetch */
2438    wanted_length = stats_fetch_round(conn, partition, entry->wanted_length);
2439    if (wanted_length > fcache_get_status_length(&entry->status))
2440	    wanted_length = fcache_get_status_length(&entry->status);

I looked at these lines sereral times before without seeing the problem.

Harald.
_______________________________________________
Arla-drinkers mailing list
Arla-drinkers@stacken.kth.se
https://lists.stacken.kth.se/mailman/listinfo/arla-drinkers

home help back first fref pref prev next nref lref last post