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)
Wed, Apr 17, 2:36 PM
Unknown Object (File)
Wed, Apr 17, 12:45 PM
Unknown Object (File)
Sun, Mar 24, 11:09 PM
Unknown Object (File)
Feb 11 2024, 6:45 AM
Unknown Object (File)
Dec 22 2023, 10:35 PM
Unknown Object (File)
Dec 12 2023, 11:46 AM
Unknown Object (File)
Dec 8 2023, 5:08 AM
Unknown Object (File)
Oct 19 2023, 11:23 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

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.