Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Aug 2003 17:52:23 -0700 (PDT)
From:      Jeff Roberson <jeff@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/gnu/ext2fs fs.h
Message-ID:  <200308280052.h7S0qNtA040155@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jeff        2003/08/27 17:52:23 PDT

  FreeBSD src repository

  Modified files:
    sys/gnu/ext2fs       fs.h 
  Log:
   - In LCK_BUF() simply change the owner of the buf to the kernel.
   - In ULCK_BUF we no longer need to acquire the lock, just write the buf out.
   - The combination of these changes eliminates one more use of B_LOCKED which
     is in the way of making the buffer cache SMP safe.  In the long term
     ext2fs should probably not try to optimize the use of their metadata bufs
     with a private cache.  This will starve the rest of the system for buffers
     in the extreme case.
  
  Discussed with: bde (A long time ago..)
  Tested on:      md disk/x86
  
  Revision  Changes    Path
  1.14      +2 -10     src/sys/gnu/ext2fs/fs.h



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