git-holes
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Sat, 10 Oct 2020 19:54:24 +0000 (20:54 +0100)
committerAurelien Jarno <aurel32@debian.org>
Sat, 10 Oct 2020 19:54:24 +0000 (20:54 +0100)
commitc43355991cad4a82a51a7c71aa821f04c5ca9065
tree9d822abccd5881aaefb6067e1b949b4728e4794e
parente57307a75b4b6ee3b4c44dd6aeb7aed7259fa2e0
git-holes

Committed for glibc 2.32

commit 3f6e4fc4542b5b881906bf2f83eb4b8359b0dcd4
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Thu Jun 4 20:52:19 2020 +0200

    support: Fix detecting hole support on >2KB-block filesystems

    When detecting hole support, we write at 16MiB, and filesystems will
    typically need two levels of data to record that. On filesystems with
    8KB block, the two indirection blocks will require a total of 16KB
    overhead, thus 32 512-byte sectors.

    Spotted on GNU/Hurd with a 4KB blocks filesystem, but also happens on Linux
    with 4KB or 8KB blocks filesystems.

    * support/support_descriptor_supports_holes.c
    (support_descriptor_supports_holes): Set block_headroom to 32.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-holes.diff
support/support_descriptor_supports_holes.c