git: kernel - Fix rare NFS deadlock

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Jul 19 21:17:35 PDT 2019


commit 39915bf2381ac8234648d977df99842ba5ce5a0b
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Jul 19 21:15:27 2019 -0700

    kernel - Fix rare NFS deadlock
    
    * Fix a rare NFS deadlock which can occur on UIO_NOCOPY reads
      (memory mapped accesses).  VOP_GETATTR cannot be safely called
      in this situation without deadlocking against the VM system.

Summary of changes:
 sys/vfs/nfs/nfs_bio.c | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/39915bf2381ac8234648d977df99842ba5ce5a0b


-- 
DragonFly BSD source repository



More information about the Commits mailing list