summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChristopher J. Morrone <morrone2@llnl.gov>2014-04-27 13:06:49 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-04-27 10:24:54 -0700
commit9fc3b028b9518bd09fe24219cb2f9c439a1848fc (patch)
treed7067748935c26763a44957b41b2100ca753be7e /include
parent717d1c2ee31e28af834278e0ace4b48f086c3c6a (diff)
stagaing/lustre: Improve statahead debug messages
The statahead debug messages include the pid of the current process in their body. This is both redudant (because all lustre log messages contain the pid), and sometimes downright misleading. For instance the messages would say something like "stopping statahead thread 3446". One would probably think that 3446 is the pid of the process that is being stopped, but in fact it was the pid of the caller issuing the stop signal. We remove all superfluous pids from the messages. Next we have the ll_statahead_thread() and the ll_agl_thread() record their respective pids in their respective ptlrpc_thread structures. This allows to print the pid of the thread that we are trying to stop (which is actually useful info) from other threads, such as those calling ll_stop_statahead(). Signed-off-by: Christopher J. Morrone <morrone2@llnl.gov> Reviewed-on: http://review.whamcloud.com/9360 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4624 Reviewed-by: Fan Yong <fan.yong@intel.com> Reviewed-by: Lai Siyao <lai.siyao@intel.com> Signed-off-by: Oleg Drokin <oleg.drokin@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions