]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Close down the TCP connection to a pNFS DS when it is disabled.
authorrmacklem <rmacklem@FreeBSD.org>
Fri, 13 Jul 2018 20:03:05 +0000 (20:03 +0000)
committerrmacklem <rmacklem@FreeBSD.org>
Fri, 13 Jul 2018 20:03:05 +0000 (20:03 +0000)
commit92dfbcf0dae8ba57860042bde7a9f72170351a48
treee89ba7cef8b5ca61c4fce1487a17000c0cf6536d
parent3d41e80ced7f49ed9d1a2f3e0decd7dd4ed7bac6
Close down the TCP connection to a pNFS DS when it is disabled.

So long as the TCP connection to a pNFS DS isn't shared with other DSs,
it can be closed down when the DS is being disabled in the pNFS client.
This causes any RPCs in progress to fail.
This patch only affects the NFSv4.1 pNFS client when errors occur
while doing I/O on a DS.

MFC after: 2 weeks
sys/fs/nfsclient/nfs_clstate.c