Skip to content
  1. Oct 31, 2018
    • Tommaso Tocci's avatar
      bugfix: wrong size parsing in DecrementSizeOperand · b0ddc0f4
      Tommaso Tocci authored
      The decrement size operand does not have a trailing slash, thus we need
      to add it before to use std::stoul.
      b0ddc0f4
    • Tommaso Tocci's avatar
      Implement (f)truncate · f60f2d19
      Tommaso Tocci authored
      Implemented all the logic to handle truncate operation.
      
      Test: added truncate test
      f60f2d19
    • Tommaso Tocci's avatar
      bugfix: initialize io byte count to 0 · 9970ab60
      Tommaso Tocci authored
      9970ab60
    • Tommaso Tocci's avatar
      Read beyond end of file · 2976d41f
      Tommaso Tocci authored
      In the daemon read handler manage read beyond end of file as normal case
      and not exceptional
      2976d41f
    • Tommaso Tocci's avatar
      b47751fb
    • Tommaso Tocci's avatar
      bugfix: implement segmented read · 7e2e2a5f
      Tommaso Tocci authored
      According to the read manpage a read could return less bytes then
      requested due to an interrupt or an error.
      
      We now try to repeat the read operation until all the existent data have
      been read correctly.
      7e2e2a5f
    • Tommaso Tocci's avatar
      Make ChunkStorage aware of chunksize · 94a44560
      Tommaso Tocci authored
      The ChunkStorage class now store the chunksize in order to perform
      runtime checks upon chunks bundaries.
      94a44560
    • Tommaso Tocci's avatar
      use mercury automatic SM routing · c40be81b
      Tommaso Tocci authored
      Mercury now support shared memory autorouting.
      
      A single margo instance can be initialized and it will handle both
      shared memory communication and remote ones.
      
      If the endpoint of the RPC is local mercury will automatically use
      shared memory.
      
      Since there is only one margo instance all the duplicated code for
      rpc/ipc have been unified and simplified considerably.
      
      ------
      
      The way in which client contact the server has changed.
      
       - Server initializes its own margo instance and generate the endpoint
      communication string using `HG_Addr_self`.
       - This endpoint description string is written on the pid file
       - When the client library loads it will fetch the server endpoint
      description from the pid file and will use that to contact the server.
      c40be81b
  2. Oct 29, 2018
  3. Oct 28, 2018
    • Tommaso Tocci's avatar
      update deps, drop abt-snoozer · b0c8d184
      Tommaso Tocci authored
      margo, argobots and mercury have been updated. The abt-snoozer dep
      required by margo it is not needed anymore.
      
      RocksDB has been also updated to the lastest release
      b0c8d184
    • Tommaso Tocci's avatar
      makes logs configurable at exec time · 1ad8f4e4
      Tommaso Tocci authored
      loggers can be now configured at execution time, by using environment
      variables for both server and client.
      
      Server:
       - ADAFS_LOG_LEVEL
       - ADAFS_DAEMON_LOG_PATH
      
      Client:
       - ADAFS_LOG_LEVEL
       - ADAFS_PRELOAD_LOG_PATH
      1ad8f4e4
  4. May 15, 2018
  5. May 14, 2018
  6. May 11, 2018
  7. May 10, 2018
  8. May 09, 2018
  9. 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
  10. May 02, 2018
  11. 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
  12. Apr 27, 2018