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

看板DFBSD_commit作者時間16年前 (2009/08/16 04:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1AXnj9Ut (DFBSD_commit)