]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: don't return EINTR
authorArne Jansen <sensille@gmx.net>
Wed, 18 Apr 2012 08:27:16 +0000 (10:27 +0200)
committerDavid Sterba <dsterba@suse.cz>
Wed, 18 Apr 2012 17:22:33 +0000 (19:22 +0200)
commit64a3357833c8f853ab5c176ad93c3908b9806899
tree90f1b5be9f4829463082e24357f5c9a5677797f3
parent164c7f47b3aeea76b37d2517225f5d87d7596435
btrfs: don't return EINTR

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: Arne Jansen <sensille@gmx.net>
fs/btrfs/extent-tree.c