Skip to content
  1. May 09, 2018
  2. May 08, 2018
    • Tommaso Tocci's avatar
      Multiple logs handling · df0aee7e
      Tommaso Tocci authored
      During daemon setup, multiple spdloggers are configured.
      
      Using spdlog::get("<LOGNAME>") is possible to retrieve those and use
      them in other part of the code.
      df0aee7e
    • Tommaso Tocci's avatar
      Client send relative paths · 8a5d3de0
      Tommaso Tocci authored
      Paths are now made relative to the mountdir at client side.
      
      The new relativize_path fucntion in the PreloadContext is used to check
      if a path is relative to the pseudo-mount directory and to make it
      relative
      8a5d3de0
  3. May 02, 2018
  4. Apr 29, 2018
    • Tommaso Tocci's avatar
      Refactor daemon handler for stat · 4077fcf1
      Tommaso Tocci authored
      The rpc stat handler was the only one calling directly a db function,
      bypassing the intermediate adafs_ops interface.
      
      A new function on the adafs_ops interface has been added to be used by
      the rpc stat handler.
      4077fcf1
  5. Apr 27, 2018
  6. Apr 12, 2018
  7. Apr 09, 2018
  8. Apr 08, 2018
    • Tommaso Tocci's avatar
      cli: look for --help flag first · 89ecb7b2
      Tommaso Tocci authored
      Since the introduction of required parameters wasn't possible to show
      the help message.
      In fact the --help flag was checked after all other parameters.
      89ecb7b2
  9. Apr 02, 2018
    • Marc Vef's avatar
      Daemon now creates a pid file with pid and mountdir info for clients · fe7e5ee3
      Marc Vef authored
      Previously, clients would look for the daemon by name which was not robust.
      If the daemon was started with valgrind for example, clients would not find
      the daemon.
      
      Similar to other applications a daemon now creates a pid file with
      information about its pid and its started mountdir.
      
      Proper errorhandling on server and client side was added.
      
      Multiple daemons per node are explicitly not allowed for now!
      fe7e5ee3
  10. Mar 24, 2018
  11. Mar 23, 2018
  12. Mar 20, 2018
  13. Mar 19, 2018
  14. Mar 15, 2018
  15. Mar 12, 2018
  16. Mar 09, 2018
  17. Mar 07, 2018
    • Tommaso Tocci's avatar
      cmake: make daemon having its own cmake file · 14a4f0b4
      Tommaso Tocci authored
      daemon related cmake directives have been pushed into a standalon cmake
      file into the src/daemon folder.
      14a4f0b4
    • Marc Vef's avatar
    • Marc Vef's avatar
      Restructuring directory hierarchy of the project + re-adding header files to CMake sources. · 138e04ca
      Marc Vef authored
      - Previously the directory hierarchy was not clear regarding to which
        file belong to which part of the project (client or daemon).
        Further, we will have other clients in the future (such as Fuse).
      - CMake files now differentiate between include dirs for all targets
        and target specific ones.
      - Removed duplicate -pg flag.
      - Not listing header files when adding executables or libraries
        is considered bad practice. Note that include_directories() is adding
        include paths to the code while adding all files used for executables
        and libraries provide the context which files belong to each binary.
        When only include_directories() is set, CMake assumes that all files
        belong to a binary (which is not necessarily true). As a result,
        some IDEs may break as the do not support this assumption.
      
        In general we should almost always favor explicitness over implicitness.
      138e04ca