aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/nfs/Connection.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* lib/nfs/Glue: destruct the NfsManager in the I/O threadMax Kellermann2014-10-011-4/+3
| | | | | This allows eliminating the indirection code from the NfsConnection destructor.
* lib/nfs/Cancellable: use boost::intrusive::listMax Kellermann2014-10-011-3/+3
| | | | | Reduce Remove() overhead because we don't have to walk the list to find an iterator by reference.
* nfs/Connection: check for disappearing libnfs socketMax Kellermann2014-08-311-0/+18
|
* nfs/Connection: use only BroadcastError()Max Kellermann2014-08-311-4/+1
| | | | | Since BroadcastError() calls BroadcastMountError(), there's no need to check mount_finished here.
* nfs/Connection: nfs_get_fd() can return -1Max Kellermann2014-08-311-0/+3
| | | | | While reconnecting to the NFS server, the socket is -1, because there is no socket. Fixes a potential crash (assertion failure).
* nfs/Connection: use nfs_get_error() for mount errorMax Kellermann2014-08-311-2/+3
|
* nfs/Connection: fix assertion failureMax Kellermann2014-08-311-1/+3
|
* lib/nfs/Connection: include poll.hMax Kellermann2014-06-301-0/+2
|
* input/nfs: use the asynchronous libnfs APIMax Kellermann2014-06-171-0/+415
More robust and cancellable.