Page MenuHomeFreeBSD

Reduce NFS "> 32bit" dmesg spam
ClosedPublic

Authored by cperciva on Nov 15 2016, 6:58 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sep 17 2024, 11:38 PM
Unknown Object (File)
Sep 8 2024, 1:36 AM
Unknown Object (File)
Sep 7 2024, 9:48 PM
Unknown Object (File)
Sep 7 2024, 9:24 PM
Unknown Object (File)
Sep 7 2024, 4:15 AM
Unknown Object (File)
Sep 1 2024, 7:05 PM
Unknown Object (File)
Aug 17 2024, 2:41 PM
Unknown Object (File)
Aug 15 2024, 12:53 PM
Subscribers
None

Details

Summary

This changes the current behaviour of printing a line of output for every NFS fileid >= 2^32 to aggregating, e.g.,

Nov 15 05:17:34 ip-172-30-1-221 kernel: NFSv4 fileid > 32bits (24730 occurrences)
Nov 15 05:17:56 ip-172-30-1-221 kernel: NFSv4 mounted on fileid > 32bits (178 occurrences)
Nov 15 05:18:53 ip-172-30-1-221 kernel: NFSv4 fileid > 32bits (7582 occurrences)
Nov 15 05:18:58 ip-172-30-1-221 kernel: NFSv4 mounted on fileid > 32bits (23 occurrences)

A buildworld on an NFS mounted /usr/obj can otherwise result in hundreds of thousands of lines being printed.

Diff Detail

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

Event Timeline

cperciva retitled this revision from to Reduce NFS "> 32bit" dmesg spam.
cperciva updated this object.
cperciva edited the test plan for this revision. (Show Details)
cperciva added a reviewer: rmacklem.
rmacklem edited edge metadata.

This looks fine to me. In the commit log message, please mention that this needs to
be fixed by increasing ino_t to 64bits, so this printf can go away.

Thanks, rick

This revision is now accepted and ready to land.Nov 15 2016, 11:28 PM
This revision was automatically updated to reflect the committed changes.