DragonFly bugs List (threaded) for 2006-02
Re: busy buffer problem on HEAD
At Mon, 20 Feb 2006 12:15:35 -0800 (PST),
Matthew Dillon wrote:
> Hmm. There was some bad code pre-patch that I removed that was probably
> handling that case. The real problem is that the nfsd processes are
> getting wiped out by the shutdown before all the buffers are flushed.
> It's kind of a chicken and egg problem.
This is a nfs client so it does not run nfsd, but perhaps you mean something
> This patch might not be quite sufficient, but I'd like you to try it
> anyhow. It only counts buffers that are undergoing I/O as 'busy' (which
> is what the original code did), but unlike the original code I don't
> try to remove the mount point so its possible that the shutdown sequence
> will block a little further on when it tries to unmount the filesystems.
It seems to work. The system stays on the "syncing disks" line a while but
otherwise reboots fine.