Page MenuHomeFreeBSD

Improve interaction of vectx and tftp
ClosedPublic

Authored by sjg on Apr 4 2020, 12:21 AM.
Tags
None
Referenced Files
F153362785: D24287.diff
Mon, Apr 20, 5:33 PM
Unknown Object (File)
Sun, Apr 19, 2:54 AM
Unknown Object (File)
Sat, Apr 18, 9:54 PM
Unknown Object (File)
Fri, Apr 17, 4:24 AM
Unknown Object (File)
Thu, Apr 16, 7:03 PM
Unknown Object (File)
Thu, Apr 16, 4:33 AM
Unknown Object (File)
Mon, Apr 13, 4:32 AM
Unknown Object (File)
Tue, Apr 7, 3:20 PM
Subscribers

Details

Summary

On slow platforms, it helps to spread the hashing load
over time so that tftp does not timeout.

Also, some .4th files are too big to fit in cache of pkgfs,
so increase cache size and ensure fully populated.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

stand/libsa/pkgfs.c
286 ↗(On Diff #70181)

This should be:
if (tf->tf_cachesz == 0)

512 ↗(On Diff #70181)

This should be:
if (tf->tf_cachesz > 0) {

fix cachesz checks for sure

This revision is now accepted and ready to land.Apr 7 2020, 4:55 PM
This revision was automatically updated to reflect the committed changes.