diff options
author | kib <kib@FreeBSD.org> | 2006-12-14 11:34:07 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2006-12-14 11:34:07 +0000 |
commit | e7cdcb324074afe862ff79dff4056e372d7a7dcc (patch) | |
tree | b4491be126c4489f10c7fd21ffcd58a2b9876bfd /sys/sys | |
parent | d828ea069054def0683feaaa0ab3b996287edc4e (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sys/sys/vnode.h | 1 |
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 |