]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r245444:
authormav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 29 Jan 2013 17:45:05 +0000 (17:45 +0000)
committermav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 29 Jan 2013 17:45:05 +0000 (17:45 +0000)
commit61b2790773fd54d2d80ac682e39abd895e569fbd
tree1fb362d60fbe95c1bc57ea2b4b0a7e081bdc581e
parent505b3d13b507cf4c14cee4937f1af3d4bdf7f3ff
MFC r245444:
Alike to r242314 for GRAID make GRAID3 more aggressive in marking volumes
as clean on shutdown and move that action from shutdown_pre_sync stage to
shutdown_post_sync to avoid extra flapping.

ZFS tends to not close devices on shutdown, that doesn't allow GEOM RAID3
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@246079 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/geom/raid3/g_raid3.c