]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd: Log client tracking type log message as info instead of warning
authorPaul Menzel <pmenzel@molgen.mpg.de>
Fri, 12 Mar 2021 21:03:00 +0000 (22:03 +0100)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 22 Mar 2021 14:19:03 +0000 (10:19 -0400)
commit5720ab72018aac0a167d6a755fa63c414ef35f12
tree96f29e50a30d3a7e281b779cae1c817b3fcdd339
parentfeb6d3215cd05756e822a2c58297871ae02e9d95
nfsd: Log client tracking type log message as info instead of warning

`printk()`, by default, uses the log level warning, which leaves the
user reading

    NFSD: Using UMH upcall client tracking operations.

wondering what to do about it (`dmesg --level=warn`).

Several client tracking methods are tried, and expected to fail. That’s
why a message is printed only on success. It might be interesting for
users to know the chosen method, so use info-level instead of
debug-level.

Cc: linux-nfs@vger.kernel.org
Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs4recover.c