linux-nfs / nfsd

Linux kernel source tree
Other
0 stars 0 forks source link

Make max ops per compound potentially unlimited #49

Open chucklever opened 5 months ago

chucklever commented 5 months ago

In other words, make it so that other limits will restrict the number of operations first. The maximum size of a request or reply (just over 1MB) will certainly restrict the total number of ops a COMPOUND can have.

chucklever commented 5 months ago

First thing to do would be to deal with the array in the rpc_status netlink argument. Make it a dynamic array.

chucklever commented 5 months ago

We also need to understand how the max-ops limit affects Reply size and the likelihood that a COMPOUND will fail because the server can't construct a Reply that fits within a session's max-rep-size limit.