]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r242314:
authormav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 15 Nov 2012 05:33:14 +0000 (05:33 +0000)
committermav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 15 Nov 2012 05:33:14 +0000 (05:33 +0000)
commit3fd9c959748133c58810c51855a26d9842e2510c
tree8bfc1f9cdd4870625a6694ec485799de73805d76
parentcf50734c5aa230527ed7654cf322f0450daa3af2
MFC r242314:
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.

git-svn-id: svn://svn.freebsd.org/base/stable/9@243056 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/geom/raid/g_raid.c