summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2016-04-27 02:55:15 +0200
committerDavid Sterba <dsterba@suse.com>2016-04-27 02:59:37 +0200
commit3853368b95f27d9bdaf9e15bc1e11753f11e3c43 (patch)
tree87e0fa123eb222cae0849c783ce7655dc96d49cc /Documentation
parentb7bde4178a61a6855e1afebb60db4358dbbb6830 (diff)
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 'Documentation')
0 files changed, 0 insertions, 0 deletions