From owner-cvs-all Sun Sep 19 21:27:14 1999 Delivered-To: cvs-all@freebsd.org Received: from mg-20425426-100.ricochet.net (mg-20425426-100.ricochet.net [204.254.26.100]) by hub.freebsd.org (Postfix) with ESMTP id 842B215132; Sun, 19 Sep 1999 21:26:04 -0700 (PDT) (envelope-from gurney_j@efn.org) Received: (from jmg@localhost) by mg-20425426-100.ricochet.net (8.9.1/8.8.7) id VAA07473; Sun, 19 Sep 1999 21:23:04 -0700 (PDT) Message-ID: <19990919212227.21537@hydrogen.fircrest.net> Date: Sun, 19 Sep 1999 21:22:27 -0700 From: John-Mark Gurney To: Matthew Dillon Cc: Peter Wemm , Matthew Jacob , Poul-Henning Kamp , dg@root.com, Greg Lehey , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: User block device access (was: cvs commit: src/sys/miscfs/specfs spec_vnops.c src/sys/sys vnode.h src/sys/kern vfs_subr.c) References: <19990919183556.802C81CA7@overcee.netplex.com.au> <199909191911.MAA73893@apollo.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: <199909191911.MAA73893@apollo.backplane.com>; from Matthew Dillon on Sun, Sep 19, 1999 at 12:11:32PM -0700 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 3.0-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk Matthew Dillon scribbled this message on Sep 19: > People who don't care can use mmap() (which is inherently asynchronous > in regards to writes). People who do care can use write() and get > instant gratification. hmmm... I think that the application should recieve a signal of some sort (such as SIGBUS) if the mmap'd area can't be synced because of a write error, of course we would need to have a mechanism for the application to find out about the problem... -- John-Mark Gurney Voice: +1 408 975 9651 Cu Networking "The soul contains in itself the event that shall presently befall it. The event is only the actualizing of its thought." -- Ralph Waldo Emerson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message