Page MenuHomeFreeBSD

Improve interaction of vectx and tftp
ClosedPublic

Authored by sjg on Apr 4 2020, 12:21 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 22 2024, 9:35 PM
Unknown Object (File)
Mar 22 2024, 9:18 PM
Unknown Object (File)
Mar 22 2024, 9:18 PM
Unknown Object (File)
Mar 22 2024, 9:18 PM
Unknown Object (File)
Mar 22 2024, 9:18 PM
Unknown Object (File)
Mar 22 2024, 9:18 PM
Unknown Object (File)
Mar 8 2024, 8:20 AM
Unknown Object (File)
Feb 21 2024, 1:36 AM
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.