Date: Wed, 19 Nov 2014 14:14:24 +0800 From: Julian Elischer <julian@freebsd.org> To: freebsd-arch@freebsd.org Subject: Re: suspending threads before devices Message-ID: <546C3540.1080709@freebsd.org> In-Reply-To: <87FFDA99-ADDC-4F56-A3E8-56CCAA544542@bsdimp.com> References: <201203202037.q2KKbNfK037014@svn.freebsd.org> <54676BA6.7000202@FreeBSD.org> <20141115180014.GK17068@kib.kiev.ua> <201411181721.56505.jhb@freebsd.org> <87FFDA99-ADDC-4F56-A3E8-56CCAA544542@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 11/19/14, 11:43 AM, Warner Losh wrote: > I’m almost certain you don’t want to “unmount” the filesystems. This > would invalidate all open file handles and would be mondo-bado, and > would only succeed if you forced this issue due to all the open > references. Perhaps you’re being imprecise. I think you want to > pause all the user land threads, sync the filesystems, which should > mark them as clean and allow for the battery to drain w/o too much > trouble. I believe that is what is meant.. Terry Lambert was always pushing for this, though what he wanted was for the file systems to mark themselves clean after a certain amount of idle time, even without suspend.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?546C3540.1080709>