From owner-cvs-src@FreeBSD.ORG Thu Dec 27 18:40:02 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 353B616A417; Thu, 27 Dec 2007 18:40:02 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mta2.srv.hcvlny.cv.net (mta2.srv.hcvlny.cv.net [167.206.4.197]) by mx1.freebsd.org (Postfix) with ESMTP id 0C39213C469; Thu, 27 Dec 2007 18:40:01 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from flosoft.no-ip.biz (ool-435559b8.dyn.optonline.net [67.85.89.184]) by mta2.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0JTQ004S81607PA0@mta2.srv.hcvlny.cv.net>; Thu, 27 Dec 2007 13:39:37 -0500 (EST) Received: from flosoft.no-ip.biz (localhost [IPv6:::1]) by flosoft.no-ip.biz (8.14.2/8.14.2) with ESMTP id lBRIdZGJ036357; Thu, 27 Dec 2007 13:39:36 -0500 Date: Thu, 27 Dec 2007 13:39:35 -0500 From: "Aryeh M. Friedman" In-reply-to: <4773DC96.9040307@FreeBSD.org> To: Remko Lodder Message-id: <4773F167.5020506@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7BIT X-Enigmail-Version: 0.95.5 References: <200712271638.lBRGcTu9071266@repoman.freebsd.org> <4773DC96.9040307@FreeBSD.org> User-Agent: Thunderbird 2.0.0.9 (X11/20071217) Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, Warner Losh , cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern vfs_bio.c vfs_mount.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Dec 2007 18:40:02 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Remko Lodder wrote: > Warner Losh wrote: >> imp 2007-12-27 16:38:29 UTC >> >> FreeBSD src repository >> >> Modified files: sys/kern vfs_bio.c vfs_mount.c Log: A >> partial solution to some of the 'pull the umass device with a >> mounted FS' problems. These are more along the lines of >> 'avoiding an avoidable panic' than a complete solution to >> removable devices. We now close the barn door after the horse >> has gotten lose and has been hit by a truck, as it were. The >> barn no longer catches fire in this case, but the horse is still >> dead :-). >> >> The vfs_bio.c fix causes us not to put a failed write back into >> the dirty pool if the error returned was ENXIO. In that case, >> the buffer is treated like any other clean buffer that's being >> retured. ENXIO means the device isn't there anymore and will >> never be there again in the future, so retrying is futile. >> >> The vfs_mount.c fix treats 'ENXIO' as success for unmounting a >> file system. If the device is gone, retrying later won't help >> and we'll never be able to unmount the device. >> >> These two are part of a larger patch set submitted by the author. >> The other patches will be forth coming. I added comments to >> these two patches. >> >> Submitted by: Henrik Gulbrandsen Reviewed by: phk@ PR: usb/46176 >> (partial) >> >> Revision Changes Path 1.531 +4 -0 >> src/sys/kern/vfs_bio.c 1.269 +7 -2 >> src/sys/kern/vfs_mount.c > > Hurray! > Can someone give me a quick overview of what a super page is (I assume it is meant to improve paging performance) - -- Aryeh M. Friedman FloSoft Systems http://www.flosoft-systems.com Developer, not business, friendly -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHc/FmzIOMjAek4JIRAnSpAJ4nDL3oealsmbRsxHUjc3/jIFC1twCeJpE0 aETjTZ2hobucVHpto7NNZJ4= =/L50 -----END PGP SIGNATURE-----