Re: patch for ext2fs unmount problem at shutdown

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Tue, 06 Sep 2005 09:44:33 +0200
In message <200509060739.j867dT0x031916_at_gw.catspoiler.org>, Don Lewis writes:
>Attached below is a patch to fix the problem caused by having any ext2fs
>file systems mounted at system shutdown time that prevents any of the
>file systems from being unmounted and then being marked dirty when the
>system comes back up.  It works by tweaking ext2fs so that it marks the
>bufs that it keeps locked as long as the file system is mounted, and
>tweaks the shutdown code to ignore these bufs when it is counting the
>number of busy buffers.

Why is this necessary ?  As far as I know we do an orderly unmount
of all filesystems at shutdown, so shouldn't ext2fs release the
buffers at that time ?

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk_at_FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
Received on Tue Sep 06 2005 - 05:44:36 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:42 UTC