summary refs log tree commit diff
path: root/arch/tile/gxio
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2016-04-27 02:55:15 +0200
committerDavid Sterba <dsterba@suse.com>2016-05-10 09:46:11 +0200
commitf77dd0d6b2f0f2cf290cacbd48f5eee18586e52b (patch)
tree07b4e749c8d70ed68fbe2b5ec5e7930af2abb687 /arch/tile/gxio
parent6ac10a6ac2b11ada24580cc76dcd0c182061c576 (diff)
downloadlinux-f77dd0d6b2f0f2cf290cacbd48f5eee18586e52b.tar.gz
btrfs: preallocate compression workspaces
Preallocate one workspace for each compression type so we can guarantee
forward progress in the worst case. A failure cannot be a hard error as
we might not use compression at all on the filesystem. If we can't
allocate the workspaces later when need them, it might actually
deadlock, but in such situation the system has effectively not enough
memory to operate properly.

Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'arch/tile/gxio')
0 files changed, 0 insertions, 0 deletions