Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jan 2001 22:31:59 -0800 (PST)
From:      Matt Dillon <dillon@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/ufs/ffs ffs_softdep.c
Message-ID:  <200101300631.f0U6VxF61959@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
dillon      2001/01/29 22:31:59 PST

  Modified files:
    sys/ufs/ffs          ffs_softdep.c 
  Log:
  Fix a race between the syncer and umount.  When you umount a softupdates
  filesystem softdep_process_worklist() is called in a loop until it indicates
  that no dependancies remain, but the determination of that fact depends on
  there only being one softdep_process_worklist() instance running.  It was
  possible for the syncer to also be running softdep_process_worklist()
  and the pre-existing checks in the code to prevent this were not sufficient
  to prevent the race.  This patch solves the problem.
  
  Approved-by: mckusick
  
  Revision  Changes    Path
  1.81      +39 -13    src/sys/ufs/ffs/ffs_softdep.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?200101300631.f0U6VxF61959>