aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/nfs (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-10-01lib/nfs/Manager: use boost::intrusive::mapMax Kellermann2-37/+78
Reduce overhead for storing the key twice, and more overhead while looking up the connection to remove it after a failure.
2014-10-01lib/nfs/Glue: add assertionMax Kellermann1-0/+4
2014-10-01lib/nfs/Glue: destruct the NfsManager in the I/O threadMax Kellermann3-5/+8
This allows eliminating the indirection code from the NfsConnection destructor.
2014-10-01lib/nfs/Glue: eliminate class NfsGlueMax Kellermann1-17/+1
It's just a useless wrapper for class NfsManager.
2014-10-01lib/nfs/Cancellable: use boost::intrusive::listMax Kellermann3-40/+18
Reduce Remove() overhead because we don't have to walk the list to find an iterator by reference.
2014-08-31nfs/Connection: check for disappearing libnfs socketMax Kellermann1-0/+18
2014-08-31nfs/Connection: use only BroadcastError()Max Kellermann1-4/+1
Since BroadcastError() calls BroadcastMountError(), there's no need to check mount_finished here.
2014-08-31nfs/Connection: nfs_get_fd() can return -1Max Kellermann1-0/+3
While reconnecting to the NFS server, the socket is -1, because there is no socket. Fixes a potential crash (assertion failure).
2014-08-31nfs/Connection: use nfs_get_error() for mount errorMax Kellermann1-2/+3
2014-08-31nfs/Connection: fix assertion failureMax Kellermann1-1/+3
2014-08-30*: add missing Compiler.h includesMax Kellermann1-0/+1
Necessary for "final" on gcc 4.6.
2014-06-30lib/nfs/Connection: include poll.hMax Kellermann1-0/+2
2014-06-17lib/nfs/Manager: gcc 4.7 compatibility hackMax Kellermann3-0/+32
std::map::emplace() is only available from gcc 4.8 on.
2014-06-17input/nfs: use the asynchronous libnfs APIMax Kellermann11-0/+1398
More robust and cancellable.
2014-02-08input/nfs: move nfs_domain to lib/nfs/Domain.cxxMax Kellermann2-0/+51