aboutsummaryrefslogtreecommitdiffstats
path: root/src/storage/plugins/NfsStorage.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge tag 'v0.19.10'Max Kellermann2015-06-211-2/+2
|\
| * storage/nfs: fix deadlock when connectingThomas Guillem2015-05-291-2/+2
| | | | | | | | | | | | The Connect method can be called between Schedule and lock. In that case, when locked, the state is already set to CONNECTING of READY and the condition won't be signaled anymore.
* | storage/FileInfo: rename to StorageFileInfoMax Kellermann2015-02-281-12/+12
| |
* | Copyright year 2015Max Kellermann2015-01-011-1/+1
|/
* db/simple: fix implicit nullptr/bool conversionMax Kellermann2014-12-261-1/+1
| | | | | Return false on error, not nullptr.
* storage/nfs: clear last_error in SetState()Max Kellermann2014-12-151-0/+1
| | | | Fixes bogus assertion failure.
* storage/nfs: use the libnfs async APIMax Kellermann2014-10-091-49/+228
| | | | Share the NFS connection with the NFS input plugin.
* StoragePlugin: pass EventLoop to constructorMax Kellermann2014-10-091-1/+2
|
* storage/nfs: move code to class MemoryStorageDirectoryReaderMax Kellermann2014-10-071-73/+35
| | | | | | Read all directory entries into memory and close the struct nfsdir before returning the StorageDirectoryReader instance. This is what libnfs does, anyway.
* storage/nfs: move code to Copy()Max Kellermann2014-10-071-18/+30
|
* lib/nfs/Base: kludge to reduce number of NFS mountsMax Kellermann2014-10-051-0/+3
| | | | | | | Creating a NfsStorage sets its own export_name as the "base". Now NfsFileReader can use this information to derive the export_name to be mounted, instead of guessing. This solves the "too many connection" problem on the NFS server while updating the database.
* storage: remove redundant "virtual" keywordsMax Kellermann2014-10-021-9/+8
| | | | "override" implies "virtual".
* storage/nfs: make a few attributes "const"Max Kellermann2014-10-011-3/+3
|
* storage/nfs: convert file name to UTF-8Max Kellermann2014-09-281-8/+30
| | | | | Assume the configured filesystem character set is also used by the NFS server.
* storage/nfs: use string::append() instead of string::insert()Max Kellermann2014-09-281-3/+2
| | | | | Swap the order of adding the URI and the slash, because appending is cheaper than inserting.
* storage/nfs: move code to UriToNfsPath()Max Kellermann2014-09-281-6/+13
|
* storage/nfs: new storage pluginMax Kellermann2014-02-081-0/+238