From owner-freebsd-stable@FreeBSD.ORG Tue Mar 14 13:41:53 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC2F816A420; Tue, 14 Mar 2006 13:41:53 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from fw.zoral.com.ua (ll-227.216.82.212.sovam.net.ua [212.82.216.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F1E043D6A; Tue, 14 Mar 2006 13:41:48 +0000 (GMT) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by fw.zoral.com.ua (8.13.3/8.13.3) with ESMTP id k2EDfhaQ080415 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 14 Mar 2006 15:41:43 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.13.4/8.13.4) with ESMTP id k2EDfhVF037683; Tue, 14 Mar 2006 15:41:43 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.13.4/8.13.4/Submit) id k2EDfgnI037678; Tue, 14 Mar 2006 15:41:42 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 14 Mar 2006 15:41:42 +0200 From: Kostik Belousov To: David Xu Message-ID: <20060314134142.GO37572@deviant.kiev.zoral.com.ua> References: <200603111140.k2BBerFh096411@freefall.freebsd.org> <20060314120153.GL37572@deviant.kiev.zoral.com.ua> <20060314130242.GN37572@deviant.kiev.zoral.com.ua> <200603142117.49739.davidxu@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="l8yJEXo8J9fv7OFY" Content-Disposition: inline In-Reply-To: <200603142117.49739.davidxu@freebsd.org> User-Agent: Mutt/1.4.2.1i X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on fw.zoral.com.ua Cc: Kostik Belousov , freebsd-stable@freebsd.org, bug-followup@freebsd.org, Martin Subject: Re: [patch] Re: kern/94278: Crash with FIFOs and ktrace X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Mar 2006 13:41:53 -0000 --l8yJEXo8J9fv7OFY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 14, 2006 at 09:17:49PM +0800, David Xu wrote: > I know, someone will work out such a messy patch, but is it reasonable ? > why does not the fifi code suddenly work with well defined vnode interfac= e ? > why did someone want to break the well defined FILE->vnode->fs->device > layers ? sigh. =46rom CVS history for sys/fs/fifofs//fifo_vnops.c: Revision 1.105 Wed Nov 17 07:30:02 2004 UTC (15 months, 3 weeks ago) by phk Make vnode bypass for fifos (read, write, poll) mandatory. Revision 1.104 Mon Nov 15 14:51:44 2004 UTC (15 months, 3 weeks ago) by phk Add file ops to fifofs so that we can bypass vnodes (and Giant) for the heavy-duty operations (read, write, poll/select, kqueue). Disabled for now, enable with "vfs.fifofs.fops=3D1" in loader.conf. --l8yJEXo8J9fv7OFY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFEFsgVC3+MBN1Mb4gRAu4tAJ9IsGeclPEL8ZUnxCmtlI1RdGzu2gCcDdby z8Rzv8QCAVEBQJUIKFQ0ym4= =MmVR -----END PGP SIGNATURE----- --l8yJEXo8J9fv7OFY--