1. 24 Jun, 2019 7 commits
  2. 23 Jun, 2019 3 commits
  3. 21 Jun, 2019 1 commit
  4. 20 Jun, 2019 2 commits
  5. 17 Jun, 2019 2 commits
  6. 16 Jun, 2019 5 commits
  7. 15 Jun, 2019 17 commits
  8. 14 Jun, 2019 3 commits
    • Merge pull request #5114 from pks-t/pks/bigfile-refactoring · f0a720d5
      Removal of `p_fallocate`
      Edward Thomson committed
    • posix: remove `p_fallocate` abstraction · 2d85c7e8
      By now, we have repeatedly failed to provide a nice
      cross-platform implementation of `p_fallocate`. Recent tries to
      do that escalated quite fast to a set of different CMake checks,
      implementations, fallbacks, etc., which started to look real
      awkward to maintain. In fact, `p_fallocate` had only been
      introduced in commit 4e3949b7 (tests: test that largefiles can
      be read through the tree API, 2019-01-30) to support a test with
      large files, but given the maintenance costs it just seems not to
      be worht it.
      
      As we have removed the sole user of `p_fallocate` in the previous
      commit, let's drop it altogether.
      Patrick Steinhardt committed
    • tests: object: refactor largefile test to not use `p_fallocate` · 0c2d0d4b
      The `p_fallocate` platform is currently in use in our tests,
      only, but it proved to be quite burdensome to get it implemented
      in a cross-platform way. The only "real" user is the test
      object::tree::read::largefile, where it's used to allocate a
      large file in the filesystem only to commit it to the repo and
      read its object back again. We can simplify this quite a bit by
      just using an in-memory buffer of 4GB. Sure, this cannot be used
      on platforms with low resources. But creating 4GB files is not
      any better, and we already skip the test if the environment
      variable "GITTEST_INVASIVE_FS_SIZE" is not set. So we're arguably
      not worse off than before.
      Patrick Steinhardt committed