Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Oct 2012 16:27:40 +0200
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Alexander Motin <mav@FreeBSD.org>
Cc:        svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org
Subject:   Re: svn commit: r242314 - head/sys/geom/raid
Message-ID:  <508E925C.3010707@FreeBSD.org>
In-Reply-To: <201210291418.q9TEIsrZ078107@svn.freebsd.org>
References:  <201210291418.q9TEIsrZ078107@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
on 29/10/2012 16:18 Alexander Motin said the following:
> Author: mav
> Date: Mon Oct 29 14:18:54 2012
> New Revision: 242314
> URL: http://svn.freebsd.org/changeset/base/242314
> 
> Log:
>   Make GEOM RAID more aggressive in marking volumes as clean on shutdown
>   and move that action from shutdown_pre_sync to shutdown_post_sync stage
>   to avoid extra flapping.
>   
>   ZFS tends to not close devices on shutdown, that doesn't allow GEOM RAID
>   to shutdown gracefully.  To handle that, mark volume as clean just when
>   shutdown time comes and there are no active writes.

Perhaps something like what zfs_modevent(MOD_UNLOAD) does should also be done in
one of the shutdown hooks?
Maybe at the start of shutdown_post_sync (so that it is run before the hooks of
lower level drivers like graid)?

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?508E925C.3010707>