From: Kevin Vigor <kvigor@gmail.com>
To: miklos@szeredi.hu
Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org,
Kevin Vigor <kvigor@gmail.com>
Subject: [RFC PATCH 0/1] FUSE: allow drivers to increase readahead.
Date: Wed, 2 Mar 2022 10:18:15 -0700 [thread overview]
Message-ID: <20220302171816.1170782-1-kvigor@gmail.com> (raw)
Summary:
Allow FUSE drivers to increase readahead setting.
Details:
FUSE drivers can set a max_readahead value in the fuse_init_out value.
However, this value can currently only decrease the readahead setting
from the default, which is set to VM_READAHEAD_PAGES in bdi_alloc().
Add a flag which causes the kernel driver to accept whatever
max_readahead value the user provides in fuse_init_out. Note that
read_ahead_kb_store() similarly allows users to set arbitrary ra_pages
values.
Kevin Vigor (1):
FUSE: Add FUSE_TRUST_MAX_RA flag enabling readahead settings >128KB.
fs/fuse/inode.c | 8 ++++++--
include/uapi/linux/fuse.h | 3 +++
2 files changed, 9 insertions(+), 2 deletions(-)
--
2.33.1
next reply other threads:[~2022-03-02 17:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-02 17:18 Kevin Vigor [this message]
2022-03-02 17:18 ` [RFC PATCH 1/1] FUSE: Add FUSE_TRUST_MAX_RA flag enabling readahead settings >128KB Kevin Vigor
2022-03-10 10:27 ` Miklos Szeredi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220302171816.1170782-1-kvigor@gmail.com \
--to=kvigor@gmail.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=miklos@szeredi.hu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®