SerCeMan / jnr-fuse

FUSE implementation in Java using Java Native Runtime (JNR)
MIT License
363 stars 86 forks source link

max_read is not enabled #90

Closed cheyang closed 4 years ago

cheyang commented 4 years ago

I'm using alluxio-fuse (which is based on jnr-fuse), and I tried to set max_read 131072 to the fuse

alluxio-fuse on /alluxio-fuse type fuse.alluxio-fuse (rw,nosuid,nodev,relatime,user_id=0,group_id=0,max_read=131072)

But In the trace log, I noticed that it still reads 65536 bytes.

read[0] 65536 bytes from 142344192 flags: 0x8000
   read[0] 51810 bytes from 142344192
   unique: 2213, success, outsize: 51826
unique: 2214, opcode: READ (15), nodeid: 3, insize: 80, pid: 71277
read[0] 65536 bytes from 142396002 flags: 0x8000
   read[0] 0 bytes from 142396002
   unique: 2214, success, outsize: 16