lib/nfs/Base: kludge to reduce number of NFS mounts

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.
This commit is contained in:
Max Kellermann
2014-10-05 07:41:50 +02:00
parent fb90b64bac
commit b1a252a64d
5 changed files with 128 additions and 7 deletions
+1
View File
@@ -559,6 +559,7 @@ NFS_SOURCES = \
src/lib/nfs/Connection.cxx src/lib/nfs/Connection.hxx \
src/lib/nfs/Manager.cxx src/lib/nfs/Manager.hxx \
src/lib/nfs/Glue.cxx src/lib/nfs/Glue.hxx \
src/lib/nfs/Base.cxx src/lib/nfs/Base.hxx \
src/lib/nfs/FileReader.cxx src/lib/nfs/FileReader.hxx \
src/lib/nfs/Domain.cxx src/lib/nfs/Domain.hxx