This kernel option especially enables zlib deflate improvements based on s390x hardware compression.
The new config option is enabled by default (for s390x).
Signed-off-by: Frank Heimes <email address hidden>
Acked-by: Stefan Bader <email address hidden>
[ saf: updateconfigs to remove unnecessary changes to
config.common.s390x ]
Signed-off-by: Seth Forshee <email address hidden>
b827561...
by
Mikhail Zaslonko <email address hidden>
btrfs: use larger zlib buffer for s390 hardware compression
In order to benefit from s390 zlib hardware compression support,
increase the btrfs zlib workspace buffer size from 1 to 4 pages (if s390
zlib hardware support is enabled on the machine).
This brings up to 60% better performance in hardware on s390 compared to
the PAGE_SIZE buffer and much more compared to the software zlib
processing in btrfs. In case of memory pressure, fall back to a single
page buffer during workspace allocation.
The data compressed with larger input buffers will still conform to zlib
standard and thus can be decompressed also on a systems that uses only
PAGE_SIZE buffer for btrfs zlib.
Link: http://<email address hidden>
Signed-off-by: Mikhail Zaslonko <email address hidden>
Reviewed-by: David Sterba <email address hidden>
Cc: Chris Mason <email address hidden>
Cc: Josef Bacik <email address hidden>
Cc: David Sterba <email address hidden>
Cc: Richard Purdie <email address hidden>
Cc: Heiko Carstens <email address hidden>
Cc: Vasily Gorbik <email address hidden>
Cc: Christian Borntraeger <email address hidden>
Cc: Eduard Shishkin <email address hidden>
Cc: Ilya Leoshkevich <email address hidden>
Signed-off-by: Andrew Morton <email address hidden>
Signed-off-by: Linus Torvalds <email address hidden>
(cherry picked from commit 3fd396afc05fc90097276c6b7a70c406ad4df5bb)
Signed-off-by: Frank Heimes <email address hidden>
Acked-by: Stefan Bader <email address hidden>
Signed-off-by: Seth Forshee <email address hidden>