Home
last modified time | relevance | path

Searched refs:nh_seqcount (Results 1 – 1 of 1) sorted by relevance

/freebsd/sys/fs/nfsserver/
H A Dnfs_nfsdport.c338 int nh_seqcount; /* heuristic */ member
372 nh->nh_seqcount = 4; in nfsrv_sequential_heuristic()
374 nh->nh_seqcount = 1; in nfsrv_sequential_heuristic()
378 if ((uio->uio_offset == 0 && nh->nh_seqcount > 0) || in nfsrv_sequential_heuristic()
381 nh->nh_seqcount += howmany(uio->uio_resid, 16384); in nfsrv_sequential_heuristic()
382 if (nh->nh_seqcount > IO_SEQMAX) in nfsrv_sequential_heuristic()
383 nh->nh_seqcount = IO_SEQMAX; in nfsrv_sequential_heuristic()
387 } else if (nh->nh_seqcount > 1) { in nfsrv_sequential_heuristic()
388 nh->nh_seqcount /= 2; in nfsrv_sequential_heuristic()
390 nh->nh_seqcount = 0; in nfsrv_sequential_heuristic()
[all …]