summaryrefslogtreecommitdiff
path: root/ChangeLog.rst
diff options
context:
space:
mode:
authorscosu <mpargmann@allfex.org>2019-06-13 13:59:10 +0200
committerNikolaus Rath <Nikolaus@rath.org>2019-06-13 12:59:10 +0100
commit027d0d17c8a4605109f09d9c988e255b64a2c19a (patch)
treecbf486cc5b25a2ffe7659071fc010df045cd7a79 /ChangeLog.rst
parent63c11456d48b156b33b8b16cd47759c0d406f5b9 (diff)
downloadfuse-027d0d17c8a4605109f09d9c988e255b64a2c19a.tar.gz
fuse_lowlevel: Add max_pages support (#384)
Starting with kernel version 4.20 fuse supports a new property 'max_pages' which is the maximum number of pages that can be used per request. This can be set via an argument during initialization. This new property allows writes to be larger than 128k. This patch sets the property if the matching capability is set (FUSE_MAX_PAGES). It will also set max_write to 1MiB. Filesystems have the possibility to decrease this size by setting max_write to a smaller size. The max_pages and bufsize fields are adjusted accordingly. Cc: Constantine Shulyupin <const@MakeLinux.com> Signed-off-by: Markus Pargmann <scosu@quobyte.com>
Diffstat (limited to 'ChangeLog.rst')
-rw-r--r--ChangeLog.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog.rst b/ChangeLog.rst
index 2885775..abbd3ee 100644
--- a/ChangeLog.rst
+++ b/ChangeLog.rst
@@ -4,6 +4,12 @@ Unreleased Changes
* Added a new example (passthrough_hp). The functionality is similar
to passthrough_ll, but the implementation focuses on performance and
correctness rather than simplicity.
+* Added support for fuse kernel feature `max_pages` which allows to increase
+ the maximum number of pages that can be used per request. This feature was
+ introduced in kernel 4.20. `max_pages` is set based on the value in
+ `max_write`. By default `max_write` will be 1MiB now for kernels that support
+ `max_pages`. If you want smaller buffers or writes you have to set
+ `max_write` manually.
libfuse 3.5.0 (2019-04-16)
==========================