Skip to content
Snippets Groups Projects
  1. Nov 01, 2024
  2. Oct 25, 2024
    • Brian Tarricone's avatar
      Verify copied destination file using direct I/O (#1471) · e62022e9
      Brian Tarricone authored and Alexander Schwinn's avatar Alexander Schwinn committed
      After writing a destination file in a copy, the file (or at least parts
      of it) will likely still be in the OS's buffer cache.  This means that
      when we read it back to compare it with the source, we're just comparing
      with what's in memory, not with what's on disk.
      
      On Linux, we can use O_DIRECT when opening the file in order to bypass
      the buffer cache.  Other OS-specific code will have to be added in order
      to support stronger verification on non-Linux OSes.
      
      This code path is only used when the destination GFile has a file://
      URI, as we can't open files this way when using any of GIO's/GVFS's
      other URI-scheme backends.  Note that, even if opening with O_DIRECT
      succeeds, this is no guarantee that we are actually getting back the
      bytes that are on the disk.  Some disks may "lie" that they've flushed
      all data and instead return cached data.  Some filesystems -- especially
      network filesystems -- may return cached data.
      
      Closes #1471
      e62022e9
    • Alexander Schwinn's avatar
      Drop optional POLKIT dependency (#1403) · bf80c668
      Alexander Schwinn authored
      Fixes #1403
      bf80c668
  3. Oct 23, 2024
  4. Oct 04, 2024
  5. Jul 30, 2024
  6. Apr 05, 2024
  7. Dec 30, 2023
  8. Dec 28, 2023
  9. Oct 17, 2023
  10. Oct 10, 2023
  11. Aug 17, 2023
  12. Jul 07, 2023
  13. Mar 07, 2023
  14. Mar 06, 2023
  15. Feb 19, 2023
  16. Dec 17, 2022
  17. Dec 15, 2022
  18. Dec 05, 2022
  19. Dec 01, 2022
  20. Nov 12, 2022
  21. Nov 01, 2022
  22. Oct 16, 2022
  23. Sep 10, 2022
  24. Jul 09, 2022
  25. May 20, 2022
  26. May 12, 2022
  27. Apr 02, 2022
Loading