• Arne Jansen's avatar
    btrfs: don't return EINTR · b9688bb8
    Arne Jansen authored
    It is basically a good thing if we are interruptible when waiting for
    free space, but the generality in which it is implemented currently
    leads to system calls being interruptible that are not documented this
    way. For example git can't handle interrupted unlink(), leading to
    corrupt repos under space pressure.
    Instead we raise the bar to only be interruptible by SIGKILL.
    Thanks to David Sterba for suggesting this.
    Signed-off-by: default avatarArne Jansen <sensille@gmx.net>
    b9688bb8
extent-tree.c 213 KB