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)
Sat, Apr 27, 12:41 PM
Unknown Object (File)
Sat, Apr 27, 12:01 PM
Unknown Object (File)
Sat, Apr 27, 11:54 AM
Unknown Object (File)
Sat, Apr 27, 11:16 AM
Unknown Object (File)
Wed, Apr 17, 2:36 PM
Unknown Object (File)
Wed, Apr 17, 12:45 PM
Unknown Object (File)
Mar 24 2024, 11:09 PM
Unknown Object (File)
Feb 11 2024, 6:45 AM
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

Lint
Lint Skipped
Unit
Tests Skipped

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.