summaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2016-04-27 03:55:15 +0300
committerDavid Sterba <dsterba@suse.com>2016-05-10 10:46:11 +0300
commitf77dd0d6b2f0f2cf290cacbd48f5eee18586e52b (patch)
tree07b4e749c8d70ed68fbe2b5ec5e7930af2abb687 /tools/perf/scripts
parent6ac10a6ac2b11ada24580cc76dcd0c182061c576 (diff)
downloadlinux-f77dd0d6b2f0f2cf290cacbd48f5eee18586e52b.tar.xz
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 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions