Commit 63bfae29 authored by Tigran Mkrtchyan's avatar Tigran Mkrtchyan
Browse files

nfs4-client: bump readdir request size

make readdir request size reasonable (equal to linux kernel)
for better performance with big directories.

Acked-by: Lea Morschel
Acked-by: Paul Millar
Acked-by: Albert Rossi
Target: master
parent 20a91599
......@@ -655,7 +655,7 @@ public class Main {
COMPOUND4args args = new CompoundBuilder()
.withSequence(false, _sessionid, _sequenceID.value, _slotId, 0)
.withPutfh(fh)
.withReaddir(cookie, verifier, 8192, 512)
.withReaddir(cookie, verifier, 16384, 16384)
.withTag("readdir")
.build();
......@@ -689,7 +689,7 @@ public class Main {
.withSequence(false, _sessionid, _sequenceID.value, _slotId, 0)
.withPutfh(path.charAt(0) == '/' ? _rootFh : fh)
.withLookup(path)
.withReaddir(cookie, verifier, 8192, 512)
.withReaddir(cookie, verifier, 16384, 16384)
.withTag("readdir")
.build();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment