linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [QUESTION] How to enlarge the max write pages of fuse request
@ 2020-03-08 15:45 piaojun
  0 siblings, 0 replies; only message in thread
From: piaojun @ 2020-03-08 15:45 UTC (permalink / raw)
  To: Miklos Szeredi; +Cc: linux-fsdevel

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-03-08 15:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-08 15:45 [QUESTION] How to enlarge the max write pages of fuse request piaojun

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).