Add log trace print to NFSv3 readdirplus for debugging purposes (Ian Kent)
authorzoulasc <christos@zoulas.com>
Fri, 22 Jan 2016 15:12:00 +0000 (10:12 -0500)
committerzoulasc <christos@zoulas.com>
Fri, 22 Jan 2016 15:12:00 +0000 (10:12 -0500)
amd/nfs_subr.c

index 30effba578d302c1a88fb5d60686d2ec7e585a78..ef07a4a977266ebdeaa3cc3f88346cf14cf68fe2 100644 (file)
@@ -1642,6 +1642,9 @@ am_nfs3_readdirplus_3_svc(am_READDIRPLUS3args *argp, struct svc_req *rqstp)
   am_node *mp;
   int retry;
 
+  if (amuDebug(D_TRACE))
+    plog(XLOG_DEBUG, "readdirplus_3:");
+
   mp = fh3_to_mp3(dir, &retry, VLOOK_CREATE);
   if (mp == NULL) {
     if (retry < 0) {