git: kernel - Correct bug in buf/bio locking work

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Nov 11 09:18:21 PST 2013


commit 8dc56d2833468735ac991fc9ab31f598519b8e2b
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Nov 11 09:11:43 2013 -0800

    kernel - Correct bug in buf/bio locking work
    
    * Use atomic_swap_int() to test-and-clear the buffer daemon request, and
      tsleep_interlock/tsleep to catch any races.

Summary of changes:
 sys/kern/vfs_bio.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8dc56d2833468735ac991fc9ab31f598519b8e2b


-- 
DragonFly BSD source repository


More information about the Commits mailing list