Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Mar 2010 07:39:36 +0000 (UTC)
From:      Fabien Thomas <fabient@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/usr.sbin/pmcstat pmcstat_log.c
Message-ID:  <201003110739.o2B7dl88009743@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
fabient     2010-03-11 07:39:36 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    usr.sbin/pmcstat     pmcstat_log.c 
  Log:
  SVN rev 205001 on 2010-03-11 07:39:36Z by fabient
  
  MFC r204878:
   Change the way shutdown is handled for log file.
  
   pmc_flush_logfile is now non-blocking and just ask the kernel
   to shutdown the file. From that point, no more data is
   accepted by the log thread and when the last buffer is flushed
   the file is closed.
  
   This will remove a deadlock between pmcstat asking for
   flush while it cannot flush the pipe itself.
  
  Revision  Changes    Path
  1.10.2.3  +1 -3      src/usr.sbin/pmcstat/pmcstat_log.c



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