Skip to content
Snippets Groups Projects
  1. Mar 04, 2025
  2. Feb 19, 2025
  3. Dec 15, 2024
  4. Dec 01, 2024
  5. Nov 01, 2024
  6. 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
  7. Oct 23, 2024
  8. Oct 04, 2024
  9. Jul 30, 2024
  10. Apr 05, 2024
  11. Dec 30, 2023
  12. Dec 28, 2023
  13. Oct 17, 2023
  14. Oct 10, 2023
  15. Aug 17, 2023
  16. Jul 07, 2023
  17. Mar 07, 2023
  18. Mar 06, 2023
  19. Feb 19, 2023
  20. Dec 17, 2022
  21. Dec 15, 2022
  22. Dec 05, 2022
  23. Dec 01, 2022
  24. Nov 12, 2022
Loading