DragonFly commits List (threaded) for 2009-08
DragonFly BSD
DragonFly commits List (threaded) for 2009-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: BIO - Do not try to redirty a bp on error unless it has a vnode association.


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 15 Aug 2009 13:08:01 -0700 (PDT)

commit 921e49569fe92bf1a1f8e259bc9b2670d257f33b
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Sat Aug 15 13:06:39 2009 -0700

    BIO - Do not try to redirty a bp on error unless it has a vnode association.
    
    * vinum buffers may not have a b_vp association.  bdirty() and friends
      requires b_vp to be present.  Simply do not try to re-dirty buffers
      after a failed write unless they have a b_vp association.
    
      Note that only vinum constructs these manually-kmalloc()'d buffers
      and has this behavior.

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

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/921e49569fe92bf1a1f8e259bc9b2670d257f33b


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]