git: kernel - Close possible hole in hammer inval code
    Matthew Dillon 
    dillon at crater.dragonflybsd.org
       
    Thu Nov 11 20:42:26 PST 2010
    
    
  
commit 3b98d91253c66fb99ffe1023d7c5ae1c5411645f
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Nov 11 10:12:59 2010 -0800
    kernel - Close possible hole in hammer inval code
    
    * Do not use FINDBLK_TEST, instead have findblk() return a locked buffer
      cache buffer and deal with it from there.  While the original code
      should have been ok (it would getblk() the buffer cache in either case),
      it depended on certain MP race characteristics that might not hold so
      don't take any chances.
    
    * This does not fix any known issues but removes some uncertainty.
Summary of changes:
 sys/vfs/hammer/hammer_io.c |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3b98d91253c66fb99ffe1023d7c5ae1c5411645f
-- 
DragonFly BSD source repository
    
    
More information about the Commits
mailing list