where can find FUSE_MAX_PAGES_PER_REQ?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

where can find FUSE_MAX_PAGES_PER_REQ?

Pahome Chen
Hello everyone,

I want to change the maximum read ahead size and read size. It's 128K bytes in my machine.

I found so many articles said the arguments FUSE_MAX_PAGES_PER_REQ is in fuse_i.h, but I found nothing in the libfuse/lib/fuse_i.h

anyone can help? thanks a lot.

--
Best Regards,
pahome

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--
fuse-devel mailing list
To unsubscribe or subscribe, visit https://lists.sourceforge.net/lists/listinfo/fuse-devel
Reply | Threaded
Open this post in threaded view
|

Re: where can find FUSE_MAX_PAGES_PER_REQ?

Nikolaus Rath
On Apr 21 2017, Pahome Chen <[hidden email]> wrote:
> Hello everyone,
>
> I want to change the maximum read ahead size and read size. It's 128K bytes
> in my machine.
>
> I found so many articles said the arguments FUSE_MAX_PAGES_PER_REQ is in
> fuse_i.h, but I found nothing in the libfuse/lib/fuse_i.h
>
> anyone can help? thanks a lot.

Look in the linux kernel sources (fs/fuse/linux_i.h), not in the libfuse
sources.


Best,
-Nikolaus

--
GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--
fuse-devel mailing list
To unsubscribe or subscribe, visit https://lists.sourceforge.net/lists/listinfo/fuse-devel
Reply | Threaded
Open this post in threaded view
|

Re: where can find FUSE_MAX_PAGES_PER_REQ?

Pahome Chen
hello:
my machine is 4.4.0-72-generic Ubuntu 16.04
I found some paths contained fs/fuse/:
/sys/fs/fuse
/usr/src/linux-headers-4.4.0-72fs/fuse/
/lib/modules/4.4.0-72-generic/kernel/fs/fuse/

I only found like cuse.ko or Kconfig without fuse_i.h
and I'm sure that I already install libfuse.

anyone can help? thx

2017-04-22 0:05 GMT+08:00 Nikolaus Rath <[hidden email]>:
On Apr 21 2017, Pahome Chen <[hidden email]> wrote:
> Hello everyone,
>
> I want to change the maximum read ahead size and read size. It's 128K bytes
> in my machine.
>
> I found so many articles said the arguments FUSE_MAX_PAGES_PER_REQ is in
> fuse_i.h, but I found nothing in the libfuse/lib/fuse_i.h
>
> anyone can help? thanks a lot.

Look in the linux kernel sources (fs/fuse/linux_i.h), not in the libfuse
sources.


Best,
-Nikolaus

--
GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--
fuse-devel mailing list
To unsubscribe or subscribe, visit https://lists.sourceforge.net/lists/listinfo/fuse-devel



--
Best Regards,
pahome

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--
fuse-devel mailing list
To unsubscribe or subscribe, visit https://lists.sourceforge.net/lists/listinfo/fuse-devel
Reply | Threaded
Open this post in threaded view
|

Re: where can find FUSE_MAX_PAGES_PER_REQ?

Yue Li
hi Pahome,


On 4/23/17 6:39 PM, Pahome Chen wrote:

> hello:
> my machine is 4.4.0-72-generic Ubuntu 16.04
> I found some paths contained fs/fuse/:
> /sys/fs/fuse
> /usr/src/linux-headers-4.4.0-72fs/fuse/
> /lib/modules/4.4.0-72-generic/kernel/fs/fuse/
>
> I only found like cuse.ko or Kconfig without fuse_i.h
> and I'm sure that I already install libfuse.
>
> anyone can help? thx
The fuse_i.h can be found in

directory_of_linux_kernel_source/fs/fuse

For instance:

https://github.com/torvalds/linux/blob/master/fs/fuse/fuse_i.h

Best,

Yue


> 2017-04-22 0:05 GMT+08:00 Nikolaus Rath <[hidden email]>:
>
>> On Apr 21 2017, Pahome Chen <[hidden email]>
>> wrote:
>>> Hello everyone,
>>>
>>> I want to change the maximum read ahead size and read size. It's 128K
>> bytes
>>> in my machine.
>>>
>>> I found so many articles said the arguments FUSE_MAX_PAGES_PER_REQ is in
>>> fuse_i.h, but I found nothing in the libfuse/lib/fuse_i.h
>>>
>>> anyone can help? thanks a lot.
>> Look in the linux kernel sources (fs/fuse/linux_i.h), not in the libfuse
>> sources.
>>
>>
>> Best,
>> -Nikolaus
>>
>> --
>> GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F
>>
>>               »Time flies like an arrow, fruit flies like a Banana.«
>>
>> ------------------------------------------------------------
>> ------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> --
>> fuse-devel mailing list
>> To unsubscribe or subscribe, visit https://lists.sourceforge.net/
>> lists/listinfo/fuse-devel
>>
>
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>
>


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--
fuse-devel mailing list
To unsubscribe or subscribe, visit https://lists.sourceforge.net/lists/listinfo/fuse-devel