Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Mar 2020 16:17:58 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r359017 - head/sys/fs/autofs
Message-ID:  <202003161617.02GGHwEM001559@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: trasz
Date: Mon Mar 16 16:17:58 2020
New Revision: 359017
URL: https://svnweb.freebsd.org/changeset/base/359017

Log:
  Make autofs(5) timeout messages include affected process name and PID.
  
  MFC after:	2 weeks
  Sponsored by:	DARPA, AFRL

Modified:
  head/sys/fs/autofs/autofs.c

Modified: head/sys/fs/autofs/autofs.c
==============================================================================
--- head/sys/fs/autofs/autofs.c	Mon Mar 16 14:03:27 2020	(r359016)
+++ head/sys/fs/autofs/autofs.c	Mon Mar 16 16:17:58 2020	(r359017)
@@ -468,8 +468,9 @@ autofs_trigger_one(struct autofs_node *anp,
 
 	request_error = ar->ar_error;
 	if (request_error != 0) {
-		AUTOFS_WARN("request for %s completed with error %d",
-		    ar->ar_path, request_error);
+		AUTOFS_WARN("request for %s completed with error %d, "
+		    "pid %d (%s)", ar->ar_path, request_error,
+		    curproc->p_pid, curproc->p_comm);
 	}
 
 	wildcards = ar->ar_wildcards;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202003161617.02GGHwEM001559>