Skip to content
  1. May 10, 2018
    • Tommaso Tocci's avatar
      Add support for basic directories calls · 33865a14
      Tommaso Tocci authored
      Support for the following calls has been added:
       - opendir
       - readdir
       - closedir
      
      The readdir call use the new RPC get_dirents that ask to all the
      nodes (broadcast) about all the existing first-level entries
      of a specific directory.
      33865a14
    • Tommaso Tocci's avatar
      Add OpenDir class · 97f26a22
      Tommaso Tocci authored
      In order to support directories functionalities
      opendir,readdir,closedir,etc.. the OpenDir class has been introduced.
      This is a new specialization of the OpenFile class so that OpenDir
      object can be stored in the open_file_map along with regular file.
      97f26a22
    • Tommaso Tocci's avatar
      preload: Generalize OpenFileMap::add · 4314bebe
      Tommaso Tocci authored
      Allow to add already instantiated OpenFile to the OpenFileMap.
      
      This will come in hands when we will have sub-classes of the OpenFile.
      In that case this new add function will accept all object that are
      derived from the OpenFile class. See directories functionalities.
      4314bebe
    • Tommaso Tocci's avatar
      we don't support open call with O_DIRECTORY · b1c7f2bf
      Tommaso Tocci authored
      In the case the open call has been called with the O_DIRECTORY flag the
      ENOTSUP (Operation not supported) will be returned.
      b1c7f2bf
    • Tommaso Tocci's avatar
      be1baa34
  2. May 09, 2018
  3. May 08, 2018
  4. Apr 29, 2018
  5. Apr 16, 2018
  6. Apr 12, 2018
  7. Apr 10, 2018
    • Marc Vef's avatar
      Read: Making zeroing of buffer configurable · 6806c50d
      Marc Vef authored
      It is only relevant for sparse files but the current implementation
      has a too high overhead on a single node (~10%). We need to find
      a better solution at a later point.
      6806c50d
  8. Apr 09, 2018
  9. Apr 08, 2018
  10. Apr 06, 2018
    • Tommaso Tocci's avatar
      Avoid creation of OpenFile for non-existing files · dc0cf736
      Tommaso Tocci authored
      Postpone the creation of the OpenFile object until we are sure that the
      file actually exists and we have enough access rigths for it.
      dc0cf736
    • Tommaso Tocci's avatar
      corretly set errno on check_access · d573a07a
      Tommaso Tocci authored
      Problem:
      In the case the path for which the check access is performed doesn't
      exists the server will set `out.err` with the correct error number (ENOENT).
      On client side the value of out.err is used as return value but the
      errno variable is not set.
      d573a07a
  11. Apr 05, 2018
  12. Apr 03, 2018
    • Tommaso Tocci's avatar
      Correctly set file type · 94ace34f
      Tommaso Tocci authored
      Since POSIX.1-2001 the S_IFMT (0170000) bitmask of the file mode must
      contain the file type.
      
      At the moment we correctly support
       - [S_IFREG] regular file
       - [S_IFDIR] directory
      94ace34f
  13. 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
  14. Mar 25, 2018
  15. Mar 23, 2018
  16. Mar 22, 2018
  17. Mar 19, 2018