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)
Thu, May 2, 12:06 AM
Unknown Object (File)
Thu, May 2, 12:00 AM
Unknown Object (File)
Wed, May 1, 11:55 PM
Unknown Object (File)
Wed, May 1, 11:26 PM
Unknown Object (File)
Wed, May 1, 11:00 PM
Unknown Object (File)
Wed, May 1, 10:45 PM
Unknown Object (File)
Wed, May 1, 9:24 PM
Unknown Object (File)
Mar 22 2024, 9:35 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 Passed
Unit
No Test Coverage
Build Status
Buildable 30275
Build 28052: arc lint + arc unit

Event Timeline

stand/libsa/pkgfs.c
286

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

512

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.