Skip to content
Commit fa4d885a authored by Adam Borowski's avatar Adam Borowski Committed by David Sterba
Browse files

btrfs: allow setting zlib compression level via :9

This is bikeshedding, but it seems people are drastically more likely to
understand "zlib:9" as compression level rather than an algorithm
version compared to "zlib9".

Based on feedback on the mailinglist, the ":9" will be the only accepted
syntax. The level must be a single digit. Unrecognized format will
result to the default, for forward compatibility in a similar way the
compression algorithm specifier was relaxed in commit
a7164fa4

 ("btrfs: prepare for extensions in compression
options").

Signed-off-by: default avatarAdam Borowski <kilobyte@angband.pl>
Reviewed-by: default avatarDavid Sterba <dsterba@suse.com>
[ tighten the accepted format ]
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent f51d2b59
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment