Whamcloud - gitweb
LU-1095 ptlrpc: improve ptlrpc debug message consistency
authorNed Bass <bass6@llnl.gov>
Mon, 6 Aug 2012 18:49:27 +0000 (11:49 -0700)
committerOleg Drokin <green@whamcloud.com>
Thu, 11 Oct 2012 15:17:57 +0000 (11:17 -0400)
commit0b8e07e167fe6650b88383205f9b708acc4ad692
tree0d0324445dd7f41b8c676bbb19b7dc480ad648fa
parent6e12003b950c163df02e63026aefcc60e12892e2
LU-1095 ptlrpc: improve ptlrpc debug message consistency

Enforce the following conventions for better consistency
in a few ptlrpc/target.c debug messages.

- Print each message on a single line for better grep results.

- Provide a distinctive message for different functions to
  reduce appearance of redundancy.

- Print device name at the start, otherwise on systems with many
  targets it isn't easy to tell which one was involved.

- Print rc at the end.

Signed-off-by: Ned Bass <bass6@llnl.gov>
Change-Id: Ibd203367dde4d95d32671217271420c57a8dc0ad
Reviewed-on: http://review.whamcloud.com/3547
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/ptlrpc/target.c