From owner-cvs-src@FreeBSD.ORG Sun Jul 3 01:10:58 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.ORG Delivered-To: cvs-src@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1EF2316AB4B; Sun, 3 Jul 2005 00:58:38 +0000 (GMT) (envelope-from ps@mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE64D446BF; Sun, 3 Jul 2005 00:42:59 +0000 (GMT) (envelope-from ps@mu.org) Received: by elvis.mu.org (Postfix, from userid 1000) id 91DB76DCD7; Sat, 2 Jul 2005 17:38:12 -0700 (PDT) X-Original-To: ps@mu.org Delivered-To: ps@mu.org Received: from mx2.freebsd.org (mx2.freebsd.org [216.136.204.119]) by elvis.mu.org (Postfix) with ESMTP id DB9C95C9C5 for ; Tue, 25 Jan 2005 07:37:38 -0800 (PST) Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id CAC6556BD0 for ; Tue, 25 Jan 2005 15:37:38 +0000 (GMT) (envelope-from owner-src-committers@FreeBSD.org) Received: by hub.freebsd.org (Postfix) id 5492316A522; Tue, 25 Jan 2005 15:37:35 +0000 (GMT) Delivered-To: ps@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 538) id 720AF16A4D0; Tue, 25 Jan 2005 15:37:32 +0000 (GMT) Delivered-To: src-committers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 496B616A4CE; Tue, 25 Jan 2005 15:37:31 +0000 (GMT) Received: from gw.celabo.org (gw.celabo.org [208.42.49.153]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9D9C43D3F; Tue, 25 Jan 2005 15:37:30 +0000 (GMT) (envelope-from nectar@celabo.org) Received: from lum.celabo.org (lum.celabo.org [10.0.1.107]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "lum.celabo.org", Issuer "celabo.org CA" (verified OK)) by gw.celabo.org (Postfix) with ESMTP id 704823E2C23; Tue, 25 Jan 2005 09:37:30 -0600 (CST) Received: by lum.celabo.org (Postfix, from userid 1001) id B4893594F89; Tue, 25 Jan 2005 09:37:29 -0600 (CST) From: "Jacques A. Vidrine" To: Andrey Chernov , Poul-Henning Kamp , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG Message-ID: <20050125153729.GF5662@lum.celabo.org> Mail-Followup-To: "Jacques A. Vidrine" , Andrey Chernov , Poul-Henning Kamp , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200501250915.j0P9FW80032279@repoman.freebsd.org> <20050125094226.GA28188@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050125094226.GA28188@nagual.pp.ru> X-Url: http://www.celabo.org/ User-Agent: Mutt/1.5.6i Sender: owner-src-committers@FreeBSD.org Precedence: bulk X-Loop: FreeBSD.ORG X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on elvis.mu.org X-Spam-Status: No, score=-3.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: Cc: Subject: Re: cvs commit: src/sys/kern sys_generic.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Sun, 03 Jul 2005 01:10:59 -0000 X-Original-Date: Tue, 25 Jan 2005 09:37:29 -0600 X-List-Received-Date: Sun, 03 Jul 2005 01:10:59 -0000 On Tue, Jan 25, 2005 at 12:42:26PM +0300, Andrey Chernov wrote: > On Tue, Jan 25, 2005 at 09:15:32AM +0000, Poul-Henning Kamp wrote: > > sys/kern sys_generic.c > > Log: > > Previously a read of zero bytes got handled in devfs:vop_read() but I > > missed that when the vnode bypass was introduced. > > > > Deal with zero length transfers before we even get to fo_ops->fo_read(). > > Please back it out. Zero bytes read may affect atime, now not. I do not think that a zero byte read should not affect atime. ,----[ IEEE Std 1003.1, 2004 Edition ] | Upon successful completion, where nbyte is greater than 0, read() | shall mark for update the st_atime field of the file, and shall return | the number of bytes read. `---- Cheers, -- Jacques A Vidrine / NTT/Verio nectar@celabo.org / jvidrine@verio.net / nectar@FreeBSD.org