Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Feb 2006 12:56:23 +0000 (UTC)
From:      David Xu <davidxu@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern vfs_aio.c
Message-ID:  <200602261256.k1QCuOkj002925@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
davidxu     2006-02-26 12:56:23 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             vfs_aio.c 
  Log:
  1. Remove aio entry from lists earlier in aio_free_entry,
     so other threads can not see it if we unlock the proc
     lock (this can happen in knlist_delete).  Don't do wakeup,
     it is not necessary.
  
  2. Decrease kaio_buffer_count in biohelper rather than
     doing it in aio_bio_done_notify.
  
  3. In aio_bio_done_notify, don't send notification if KAIO_RUNDOWN
     was set, because the process is already in single thread mode.
  
  4. Use assignment to initialize aiothreadflags.
  
  5. AIOCBLIST_RUNDOWN is not useful, axe the code using it.
  
  6. use LIO_NOP instead of zero.
  
  Revision  Changes    Path
  1.220     +17 -19    src/sys/kern/vfs_aio.c



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