Source-Changes-HG archive

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

[src/trunk]: src/sys/kern VOP_STRATEGY() may still deadlock with devices.



details:   https://anonhg.NetBSD.org/src/rev/736611a6adda
branches:  trunk
changeset: 972175:736611a6adda
user:      hannken <hannken%NetBSD.org@localhost>
date:      Mon May 18 08:29:34 2020 +0000

description:
VOP_STRATEGY() may still deadlock with devices.

Change FSTRANS from LAZY to NO.

diffstat:

 sys/kern/vnode_if.src |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 3748e234835e -r 736611a6adda sys/kern/vnode_if.src
--- a/sys/kern/vnode_if.src     Mon May 18 08:28:44 2020 +0000
+++ b/sys/kern/vnode_if.src     Mon May 18 08:29:34 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: vnode_if.src,v 1.79 2020/05/16 18:31:50 christos Exp $
+#      $NetBSD: vnode_if.src,v 1.80 2020/05/18 08:29:34 hannken Exp $
 #
 # Copyright (c) 1992, 1993
 #      The Regents of the University of California.  All rights reserved.
@@ -445,7 +445,7 @@
 #% strategy   vp      = = =
 #
 vop_strategy {
-       FSTRANS=LAZY
+       FSTRANS=NO
        IN struct vnode *vp;
        IN struct buf *bp;
 };



Home | Main Index | Thread Index | Old Index