suspending threads before devices
Julian Elischer
julian at freebsd.org
Wed Nov 19 06:14:40 UTC 2014
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.
More information about the freebsd-arch
mailing list