From: piaojun <piaojun@huawei.com>
To: Miklos Szeredi <miklos@szeredi.hu>
Cc: <linux-fsdevel@vger.kernel.org>
Subject: [QUESTION] How to enlarge the max write pages of fuse request
Date: Sun, 8 Mar 2020 23:45:44 +0800 [thread overview]
Message-ID: <5E651328.4090305@huawei.com> (raw)
Hi Miklos,
I want to enlarge the fuse request's bufsize from 128K to 1MB for more
bandwidth as follows, but it does not work.
1. In libfuse, setting fuse_init_out:
outarg->max_write = 1024 * 1024; // 1MB
outarg->max_pages = 256; // 1MB
2. In kernel, fuse_send_write just handle 4B once a time, and failed at
last despite 'req->max_pages' is already set to 256. I wonder if some
more adaption needed or I just went the wrong way? Looking forward to
your rely.
Thanks,
Jun
reply other threads:[~2020-03-08 15:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=5E651328.4090305@huawei.com \
--to=piaojun@huawei.com \
--cc=linux-fsdevel@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;
as well as URLs for NNTP newsgroup(s).