Skip to content
  1. Sep 25, 2020
    • Alberto Miranda's avatar
      Bump version · 6f6ae0c7
      Alberto Miranda authored
      6f6ae0c7
    • Alberto Miranda's avatar
      Merge branch... · 4f9cb830
      Alberto Miranda authored
      Merge branch '78-errno-115-returned-on-successful-completion-for-several-system-calls' into 'master'
      
      This fix contains three parts:
      
      1. errno 115 was leaked during initialization of the client in
         init_ld_environment_(). However, the value on its own is irrelevant to
         this issue as all internal errno variable changes should be kept
         internal as it is the case during each syscall intercept hook.
         Therefore, the original errno variable is restored after the
         initialization finishes.
      2. lseek() tests revealed that whence SEEK_SET was not handled
         correctly. It should not allow negative offsets.
      
      3. All FIXME TODOs in the testing code have been removed including
         testing on the errno in a successful case because it is undefined.
      
      Resolve "Errno 115 returned on successful completion for several system calls"
      
      Closes #78
      
      See merge request hpc/gekkofs!65
      4f9cb830
  2. Sep 18, 2020
  3. Sep 15, 2020
  4. Sep 11, 2020
  5. Sep 10, 2020
  6. Sep 09, 2020
  7. Aug 17, 2020
  8. Aug 07, 2020
  9. Jul 28, 2020
    • Alberto Miranda's avatar
      Merge branch '75-daemon-chunk-storage-backend-crashes-the-server-on-error' into 'master' · 7778f598
      Alberto Miranda authored
      Resolve "[daemon] chunk storage backend crashes the server on error"
      
      Closes #75
      
      The `ChunkStorage` backend class on the daemon was throwing `system_errors` without being caught, crashing the server in the process. `ChunkStorage` now uses a designated error class for errors that might occur. In addition the dependency to Argobots was removed which was used to trigger `ABT_eventuals`, laying ground work for future non-Argobots IO implementations. Further, the whole class was refactored for consistency and failure resistance.
      
      A new class `ChunkOperation` is introduced which wraps Argobots' IO task operations which allows the removal of IO queue specific code within RPC handlers, i.e., read and write handlers. The idea is to separate eventuals, tasks and their arguments from handler logic into a designated class. Therefore, an object of an inherited class of `ChunkOperation` is instantiated within the handlers that drives all IO tasks. The corresponding code was added to the read and write RPC handlers. Note, `ChunkOperation` is not thread-safe and is supposed to be called by a single thread.
      
      In addition, truncate was reworked for error handling (it crashed the server on error) and that it uses the IO queue as well since truncate causes a write operation and should not overtake IO tasks in the queue.
      
      The chunk stat rpc handler was refactored for error handling and to use error codes as well. 
      
      Further minor changes:
      - dead chunk stat code has been removed
      - some namespaces were missing: `gkfs::rpc`
      - more flexible handler cleanup and response code
      - fixed a bug where the chunk dir wasn't removed when the metadata didn't exist on the same node
      
      Misc:
      There was some discussion about putting the removal of the chunk directory into the IO queue as well with the same argument as truncate, but I refrain to do so as it would likely notably increase remove performance. I think, we can put this under *eventual consistency* and call it a day for now. Truncate was another story as glibc makes heavy use of truncate in various operations.
      
      See merge request hpc/gekkofs!32
      7778f598
    • Marc Vef's avatar
      unlink() - Bugfix: Do not send two RPCs to same hosts in small files case · e1054ae7
      Marc Vef authored and Alberto Miranda's avatar Alberto Miranda committed
      e1054ae7
    • Marc Vef's avatar
      Adding truncate test · 2e2c190b
      Marc Vef authored and Alberto Miranda's avatar Alberto Miranda committed
      2e2c190b