From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 7179 invoked from network); 14 Apr 2021 18:06:31 -0000 Received: from tb-ob20.topicbox.com (173.228.157.66) by inbox.vuxu.org with ESMTPUTF8; 14 Apr 2021 18:06:31 -0000 Received: from tb-mx1.topicbox.com (tb-mx1.nyi.icgroup.com [10.90.30.61]) by tb-ob20.topicbox.com (Postfix) with ESMTP id 3A1A219D38 for ; Wed, 14 Apr 2021 14:06:27 -0400 (EDT) (envelope-from bounce.mM733cffffc82853c8d11e70e8.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx1.topicbox.com (Postfix, from userid 1132) id EE928238894A; Wed, 14 Apr 2021 14:06:26 -0400 (EDT) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=quarantine policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=quarantine,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=sdf.org; spf=pass smtp.mailfrom=nicolagi@sdf.org smtp.helo=mx.sdf.org; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=date:to:subject:message-id:references :mime-version:content-type:in-reply-to:from:list-help:list-id :list-post:list-subscribe:reply-to:content-transfer-encoding :list-unsubscribe; s=sysmsg-1; t=1618423586; bh=5KlSMkUxDh+7T8gR 84UWNBCgccVV07qHyF45bOFncSM=; b=NLK3RN52OV4olH9M9fYicu09T5AxJgpc dzD2AunCoRPFvxmsvsYvN1k2G9EzVbTDZ1z7ifht/cZMiKXXaPDPDydf3vSVRqzi /vnqTblgetHDsUG0XkORQELY56M+/WnwL09AOJOiF0YmrjfDMGgvxsl9baDhdKpd MgPVpNmYvyk= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1618423586; b=QithacPR82+xKiXQ1bzu0UsMUaF9iYIF0CPRdjXkhhV0axwdvm D+DDif0/ljVOmXNsqrSwyuMBezPd7n7s0HhHUu9uT+wmMdtHggk47cAcLIJB+U3u dR086M732/fPWrrg5G5QqRTPw3yZywlt2wyN4iLKA+q7vs6EJ6NbS3eDE= Authentication-Results: topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=quarantine policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=quarantine,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=sdf.org; spf=pass smtp.mailfrom=nicolagi@sdf.org smtp.helo=mx.sdf.org; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) X-Received-Authentication-Results: tb-mx1.topicbox.com; arc=none (no signatures found); bimi=none (No BIMI records found); dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=quarantine policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=quarantine,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=sdf.org; iprev=pass smtp.remote-ip=205.166.94.24 (mx.sdf.org); spf=pass smtp.mailfrom=nicolagi@sdf.org smtp.helo=mx.sdf.org; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=mx.sdf.org policy.ptr=mx.sdf.org; x-return-mx=pass header.domain=sdf.org policy.is_org=yes (MX Records found: mx.sdf.org); x-return-mx=pass smtp.domain=sdf.org policy.is_org=yes (MX Records found: mx.sdf.org); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h=date:to :subject:message-id:references:mime-version:content-type :in-reply-to:from:list-help:list-id:list-post:list-subscribe :reply-to:content-transfer-encoding:list-unsubscribe; s=dkim-1; bh=5KlSMkUxDh+7T8gR84UWNBCgccVV07qHyF45bOFncSM=; b=mpjMhCKfd8yj P44SjTZtOzEyiyxLHsciAL3zB5YbgaLl1JiS1LMn9AY4mlimqRwKGR8R9Z4/pbVi Eh1d03NbcfXDCqNbOHF2UDczk9MBdAS0Rxmc3sEE3cReS9G6kCt8HXHprN+7YHtL pWVyKUW2B/3D7+NMGZzrCQvYsxw5eUk= Received: from tb-mx1.topicbox.com (localhost.local [127.0.0.1]) by tb-mx1.topicbox.com (Postfix) with ESMTP id D21252388444 for <9fans@9fans.net>; Wed, 14 Apr 2021 14:06:15 -0400 (EDT) (envelope-from nicolagi@sdf.org) Received: from tb-mx1.topicbox.com (localhost [127.0.0.1]) by tb-mx1.topicbox.com (Authentication Milter) with ESMTP id 3352961DDF8; Wed, 14 Apr 2021 14:06:15 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1618423575; b=rirEdCKWFfVdD2uUV5OGUr/knwGfcCGN1iZ2HT9LLktw3O6INB MDKDmENj6TX0b9UZ2f/JF7WzflT+Vuf1MbRjUbubekXNgZk+VpRymlhfL7q2iORn 2KHSn9ULHxg1RWOZgcTO9cmkILIc5rjvdxi76YvnxtoPy8ynO1wZVhJkuxBVgmg4 RVUxozd63XUC5WPlqAWB0BODEURHRKUMLLIdZ9Ea30PUI9GXtdmNfeeRLH0bCjPt 5XsKcDKnoeby1FBxy40g6rXmwNF1cBvGQPyGBJ1YoTWG2gR25sdpdt9mB/WNgJ4+ PJ2yWLSJtXOqFEUtepyFlB/wtPDTcEklvtzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=date:from:to:subject:message-id:references :mime-version:content-type:in-reply-to; s=arcseal; t=1618423575; bh=i8whQbXA1x7CnrCC/5nfxBTVk0IFbcIWOeycgtlZ7hQ=; b=i8IJKtAjEgfn e1VfyoVmv45Wey0Ic9TNwUEs14WH5SgKOKM7Xe9bRf1T+1LekID77cBLSPVJiO1B 5E/ENPLLpp7VYHbuaIzffq4nEMANv7gR8SnNt747vUP4fK7gvVNsrP7MMyGLtdKn XGtzJxeCPNbNFMZDm4/klbY6rc4oJDKgpLqh8To6K8ECMxqsqLnnv3ikpqVzkBtB HmKU3FOi1lgQCsJD4uTEYCFjL91KVPyTwPH+Gl5P+ZqaY2QuNRt4PfMCDBGkbTi7 PMg4/Ij7DyHOq5/jyPNA2cTT4TMXVOpmlSlhWDaYdKu62VFFKrBlQtb/s+923IdO n3hJN18i+Q== ARC-Authentication-Results: i=1; tb-mx1.topicbox.com; arc=none (no signatures found); bimi=none (No BIMI records found); dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=quarantine policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=quarantine,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=sdf.org; iprev=pass smtp.remote-ip=205.166.94.24 (mx.sdf.org); spf=pass smtp.mailfrom=nicolagi@sdf.org smtp.helo=mx.sdf.org; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=mx.sdf.org policy.ptr=mx.sdf.org; x-return-mx=pass header.domain=sdf.org policy.is_org=yes (MX Records found: mx.sdf.org); x-return-mx=pass smtp.domain=sdf.org policy.is_org=yes (MX Records found: mx.sdf.org); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgeduledrudeluddguddvudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvf fukfhfgggtuggjsehttdertddttdejnecuhfhrohhmpehnihgtohhlrghgihesshgufhdr ohhrghenucggtffrrghtthgvrhhnpefftedvhfeuffeuvdejueffjeelvdejgeffudffke evudfhieejffegvddujeehteenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhp pedvtdehrdduieeirdelgedrvdegpddvtdehrdduieeirdelgedrudeinecuvehluhhsth gvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepvddthedrudeiiedrleegrddvgedp hhgvlhhopehmgidrshgufhdrohhrghdpmhgrihhlfhhrohhmpeeonhhitgholhgrghhise hsughfrdhorhhgqe X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (sdf.org: 205.166.94.24 is authorized to use 'nicolagi@sdf.org' in 'mfrom' identity (mechanism 'ip4:205.166.94.0/24' matched)) receiver=tb-mx1.topicbox.com; identity=mailfrom; envelope-from="nicolagi@sdf.org"; helo=mx.sdf.org; client-ip=205.166.94.24 Received: from mx.sdf.org (mx.sdf.org [205.166.94.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx1.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Wed, 14 Apr 2021 14:06:14 -0400 (EDT) (envelope-from nicolagi@sdf.org) Received: from sdf.org (IDENT:nicolagi@sdf.org [205.166.94.16]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 13EI6Dpm020548 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO) for <9fans@9fans.net>; Wed, 14 Apr 2021 18:06:14 GMT Received: (from nicolagi@localhost) by sdf.org (8.15.2/8.12.8/Submit) id 13EI6DMT015222 for 9fans@9fans.net; Wed, 14 Apr 2021 18:06:13 GMT Date: Wed, 14 Apr 2021 18:06:13 +0000 To: 9fans <9fans@9fans.net> Subject: Re: [9fans] 9P reading directories client/server behavior Message-ID: <20210414180613.GA11100@SDF.ORG> References: <202103091332.129DWgIe017612@sdf.org> <6eafc6eebda4beda2237ec6990485bb3c78b444e@hey.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline In-Reply-To: <6eafc6eebda4beda2237ec6990485bb3c78b444e@hey.com> Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 1e24337c-9d4c-11eb-93c5-d2bd9441f467 Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UMzZmYTc1ZmI4M2M4MWQ2ZC1NNzMzY2ZmZmZjODI4NTNjOGQxMWU3?= =?UTF-8?B?MGU4Pg==?= From: "nicolagi via 9fans" <9fans@9fans.net> List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> Content-Transfer-Encoding: quoted-printable List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:M733cffffc82853c8d11e70e8:1:u0Z5mMwzv4UeYzsHwlIBs6Zv7d9nYkJww33FVPnqxEU On Fri, Apr 09, 2021 at 04:00:35PM -0400, Russ Cox wrote: > On March 9, 2021, Plan 9 from Bell Labs <9fans@9fans.net> wrote: > > I was trying to use 9fans/go/plan9/client.Fid.Dirreadall > > [https://github.com/9fans/go/blob/master/plan9/client/fid.go#L54-L60] > > and found that it returned fewer entries than a single Dirread. The > > reason is that Dirreadall uses ioutil.ReadAll which doesn't work > > well with a fid corresponding to a directory, because it spuriously > > detects io.EOF when in fact there are more dir entries, but none > > fits into the read buffer. >=20 > Fixed, thanks. Argh, I totally forgot to send a patch, sorry about that! OTOH, I'm sure it took you a minute or so to fix this issue... Thank you for all the answers. ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T36fa75fb83c81d6d-M733cf= fffc82853c8d11e70e8 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription