kernel - Fix endless nfs error 70 during shutdown
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 8 Dec 2011 04:08:03 +0000 (20:08 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 8 Dec 2011 04:08:03 +0000 (20:08 -0800)
commit83a03e7ba91ea3de4a2af957d333f8b0ada36c56
tree0ed4906c17ad829c099b7e9fd2bd5132a90eb580
parent121f93bc96d950e7ad625952a6de5b189863e3b7
kernel - Fix endless nfs error 70 during shutdown

* When shutting down NFS rw mounts left over buffers may not be able to
  flush during a forced unmount.

* When unable to flush during a forced unmount mark the bp EIO instead
  of ESTALE and also mark it B_INVAL to remove the buffer from the the
  vnode.
sys/vfs/nfs/nfs_socket.c
sys/vfs/nfs/nfsm_subs.c