All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] [nfs-utils: mountd] exports too verbose.
@ 2007-03-13 16:02 Steve Dickson
  2007-03-16  0:36 ` Neil Brown
  0 siblings, 1 reply; 5+ messages in thread
From: Steve Dickson @ 2007-03-13 16:02 UTC (permalink / raw)
  To: nfs

[-- Attachment #1: Type: text/plain, Size: 176 bytes --]

This patch is relative to the git tree at:
git://git.infradead.org/~steved/nfs-utils.git
which has been updated to the nfs-utils-1.0.12
release.

Please consider...

steved.



[-- Attachment #2: exports-nonverbose.patch --]
[-- Type: text/x-patch, Size: 1172 bytes --]

commit daf1b781bf92177ed616e4ced1a3f90353acde25
Author: Steve Dickson <steved@redhat.com>
Date:   Tue Mar 13 11:55:00 2007 -0400

    This patch tones down the verbosity of exports that export
    the same directory for both read-only and read-write.
    Something similar to:
    
    /var    10.12.32.32(rw,nohide,fsid=1)
    /var    *(ro,nohide,fsid=1)
    
    Every time the export is access, the following syslog
    is logged:
    
    /var exported to both * and 10.12.32.32 in *,10.12.32.32
    
    Since the exports are working as expected, this
    syslog is really not needed. So this patch changes
    that syslog from a warning to a debugging message.
    
    Signed-off-by: Steve Dickson <steved@redhat.com>

diff --git a/utils/mountd/cache.c b/utils/mountd/cache.c
index a14f4f2..3e30a76 100644
--- a/utils/mountd/cache.c
+++ b/utils/mountd/cache.c
@@ -511,7 +511,7 @@ void nfsd_export(FILE *f)
 			if (!found)
 				found = exp;
 			else {
-				xlog(L_WARNING, "%s exported to both %s and %s in %s",
+				xlog(D_GENERAL, "%s exported to both %s and %s in %s",
 				     path, exp->m_client->m_hostname, found->m_client->m_hostname,
 				     dom);
 			}

[-- Attachment #3: Type: text/plain, Size: 345 bytes --]

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

[-- Attachment #4: Type: text/plain, Size: 140 bytes --]

_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-03-19 18:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-13 16:02 [PATCH] [nfs-utils: mountd] exports too verbose Steve Dickson
2007-03-16  0:36 ` Neil Brown
2007-03-16 13:22   ` Steve Dickson
2007-03-18 23:23     ` Neil Brown
2007-03-19 18:47       ` Steve Dickson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.