Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 May 1999 08:42:05 -0600
From:      "Justin T. Gibbs" <gibbs@plutotech.com>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        gibbs@plutotech.com, mauri@aripaev.ee, scsi@FreeBSD.ORG
Subject:   Re: FW: -STABLE scsi problem (bug?) 
Message-ID:  <199905271452.IAA49492@pluto.plutotech.com>
In-Reply-To: Your message of "Fri, 28 May 1999 00:45:12 %2B1000." <199905271445.AAA07687@godzilla.zeta.org.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
>>>> Now for the BUG: If I do shutdown -r now it says syncing disks 2 2 2 2 2 2
>>>> 2 ... giving up and after reboot starts fsck EVERY filesystem ! If it
>>>> can't sync one then it reboots without syncing others...
>>
>>That's also not a SCSI bug.  I don't know why the clean bit is not
>>set on any filesystem that is synched properly.
>
>vfs doesn't really know which filesystems have been synced properly,
>and doesn't call unmount() for any filesystem unless all buffers were
>synced.  The clean bit is set by unmount() so it is left unset for
>all rw-mounted filesystems if the sync failed.
>
>Bruce

Can't we just walk the buffer list, note the FSes the buffers reference,
and unmount any FSes that aren't referenced?

--
Justin




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message




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