summaryrefslogtreecommitdiffstats
path: root/sys/sys/vnode.h
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2006-12-14 11:34:07 +0000
committerkib <kib@FreeBSD.org>2006-12-14 11:34:07 +0000
commite7cdcb324074afe862ff79dff4056e372d7a7dcc (patch)
treeb4491be126c4489f10c7fd21ffcd58a2b9876bfd /sys/sys/vnode.h
parentd828ea069054def0683feaaa0ab3b996287edc4e (diff)
downloadFreeBSD-src-e7cdcb324074afe862ff79dff4056e372d7a7dcc.zip
FreeBSD-src-e7cdcb324074afe862ff79dff4056e372d7a7dcc.tar.gz
Resolve two deadlocks that could be caused by busy md device backed
by vnode. Allow for md thread and the thread that owns lock on vnode backing the md device to do the write even when runningbufspace is exhausted. Tested by: Peter Holm Reviewed by: tegge MFC after: 2 weeks
Diffstat (limited to 'sys/sys/vnode.h')
-rw-r--r--sys/sys/vnode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h
index d877ab9..4495155 100644
--- a/sys/sys/vnode.h
+++ b/sys/sys/vnode.h
@@ -254,6 +254,7 @@ struct xvnode {
#define VV_PROCDEP 0x0100 /* vnode is process dependent */
#define VV_NOKNOTE 0x0200 /* don't activate knotes on this vnode */
#define VV_DELETED 0x0400 /* should be removed */
+#define VV_MD 0x0800 /* vnode backs the md device */
/*
* Vnode attributes. A field value of VNOVAL represents a field whose value
OpenPOWER on IntegriCloud