Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Feb 2002 11:15:10 -0800 (PST)
From:      Matt Dillon <dillon@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_shutdown.c
Message-ID:  <200202211915.g1LJFAi09419@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
dillon      2002/02/21 11:15:10 PST

  Modified files:        (Branch: RELENG_4)
    sys/kern             kern_shutdown.c 
  Log:
  If a system shutdown is performed immediately after doing softupdates-heavy
  filesystem operations the shutdown code may stall on buffers being held
  locked by softupdates, resulting an unclean shutdown.  These buffers are
  never unlocked because the syncer has already been killed.  The solution is
  to call bioops.io_sync() in the shutdown code.
  
  From Kirk: "The buffers that are being held locked contain the indirect
  block pointers for files that are to be removed. The request to remove
  them is sitting on the soft updates worklist. They are not being processed
  because the syncer daemon has been stopped."
  
  MFC after:      3 days
  
  Revision   Changes    Path
  1.72.2.12  +4 -2      src/sys/kern/kern_shutdown.c

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




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