git: kernel - Add D_QUICK device flag

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Oct 18 09:49:25 PDT 2017


commit 0c5ceff2867c71bf573ba43090853e2819c0e60d
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Oct 17 23:36:40 2017 -0700

    kernel - Add D_QUICK device flag
    
    * Add the D_QUICK device flag.  This flag tells devfs that it does not
      have to handle complex opencount interactions in VOP_OPEN and
      VOP_CLOSE, allowing devfs to retain the shared lock for those
      operations.
    
    * Flag kernel special devices such as /dev/zero, /dev/null,
      /dev/urandom, etc, with D_QUICK.

Summary of changes:
 sys/kern/kern_memio.c | 16 +++++++++++++++-
 sys/sys/device.h      |  1 +
 2 files changed, 16 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0c5ceff2867c71bf573ba43090853e2819c0e60d


-- 
DragonFly BSD source repository



More information about the Commits mailing list