1. Dec 24, 2023
    • Goffredo Baroncelli's avatar
      bug: invalid conversion be->le · d79eacf7
      Goffredo Baroncelli authored
      
      
      The members of the struct btrfs_ioctl_search_header are already in the
      native endianess and these don't need a conversion little endian ->
      native format. So drop the get_u32()/get_u64() call for these.
      
      This is not a problem in the x86 world, which is little endian. But
      in the (e.g.) ppc world, the native format is big endian so using a
      get_u32()/get_u64() functions cause an incorrect conversion le -> be
      when the values are already in the native format.
      
      At the same time replace the get_u32()/get_u64() function with the
      get_unaligned_[le]32/64() functions.
      
      Signed-off-by: default avatarGoffredo Baroncelli <kreijack@libero.it>
      d79eacf7
  2. Aug 23, 2022
  3. Jun 25, 2022
  4. Mar 05, 2021
  5. Feb 08, 2021
  6. Feb 02, 2021
  7. Jan 29, 2021
    • Adam Borowski's avatar
      Reduce buffer size from 16MB to 64KB. · 2b4a072c
      Adam Borowski authored
      This brings a massive speedup: 58.768s -> 2.010s on my sbuild disk.
      We spend most of time zeroing a buffer to read files with 1-2 extents.
      
      Noticing this is Zygo Blaxell's fault: praise him with great praise!
      2b4a072c
  8. Jan 19, 2021
  9. Jan 01, 2021
  10. Feb 01, 2020
  11. Dec 21, 2019
  12. Oct 11, 2019
  13. Feb 24, 2019
  14. Jun 02, 2018
  15. Apr 07, 2018
  16. Mar 09, 2018
  17. Feb 25, 2018
  18. Jan 01, 2018
  19. Dec 28, 2017
  20. Dec 23, 2017
  21. Dec 22, 2017
  22. Dec 03, 2017
  23. Nov 29, 2017
  24. Oct 14, 2017
  25. Oct 13, 2017
  26. Sep 21, 2017
  27. Sep 20, 2017
  28. Sep 14, 2017