Re: NFS: Kill so_upcall NET_LOCK() recursion

2017-02-11 Thread Christian Weisgerber
transferred in 219.894926 secs (36883595 bytes/sec) ===> /bsd "NFS: Kill so_upcall NET_LOCK() recursion" dd bs=64k from NFS 8110515331 bytes transferred in 115.323728 secs (70328244 bytes/sec) 8110515331 bytes transferred in 117.878431 secs (68804066 bytes/sec) 8110515331 bytes t

NFS: Kill so_upcall NET_LOCK() recursion

2017-02-06 Thread Martin Pieuchot
guenther@ pointed out during a2k17 that nfsrv_rcv() already has a way to not re-enter the socket layer. Instead of doing soreceive() directly in the receiving path, we notify and wakeup nfsd(8) to do it. I'd like to do that unconditionally to fix one of the blocking recursions. I just finished a