Skip to content
  1. Jun 30, 2022
  2. Jun 27, 2022
  3. Jun 24, 2022
  4. Jun 21, 2022
  5. Jun 20, 2022
    • Douglas Raillard's avatar
      lisa._kmod: Fix copy overlay backend · 682dcd26
      Douglas Raillard authored
      FIX
      
      The copy overlay backend was not able to restore the deleted state of a
      file when an upper was reused as a lower, like overlayfs is able to
      using whiteout.
      
      Fix that by only restoring the top-most lower layer when using the copy
      backemd. This also has the advantage of speeding up the re-use of lowers
      as only one tree needs to be copied.
      
      After this change, lowers created with one backend cannot be mixed with
      lowers created by another backend, so add the backend to the cache key
      where appropriate.
      682dcd26
    • Douglas Raillard's avatar
      lisa._kmod: Speedup copy overlay backend · 6b65ac51
      Douglas Raillard authored
      FEATURE
      
      Use rsync when available in order to speedup the copy, as rsync is much
      faster than shutil.copytree() Python function.
      6b65ac51
    • Douglas Raillard's avatar
      lisa._kmod: Speedup copy overlay backend · 5554dcf7
      Douglas Raillard authored
      Speedup the copy overlay backend.
      5554dcf7
  6. Jun 17, 2022
    • Douglas Raillard's avatar
      lisa.utils: Speedup Loggable.get_logger() · 0e703ad4
      Douglas Raillard authored
      FIX
      
      Logging directly or indirectly inside a destructor (__del__) is
      problematic as they are invoked when the world is breaking down around
      them, which can trigger some harmless exceptions. For this reason,
      get_logger() was returning a dummy logger if __del__ was found in the
      stack.
      
      inspect.stack() is unfortunately really slow (150ms to get a stack frame
      of depth 25), which is enough to really slowdown the import of some
      modules and runtime code as well.
      
      Fix that by returning a wrapped logger object that will only inpsect the
      stack if an exception is raised.
      0e703ad4
    • Douglas Raillard's avatar
      tests/test_wlgen_rtapp.py: Fix workload cleanup · bf5b84cc
      Douglas Raillard authored
      FIX
      
      Ensure the workload is cleaned during the method call, so that we don't
      try to interact with the target when the interpreter is shutting down.
      bf5b84cc
  7. Jun 16, 2022
  8. May 24, 2022
  9. May 23, 2022
Loading