05 Feb, 2015
1 commit
-
dev_printk() is now a void function, so the related functions
scmd_printk() and sdev_prefix_printk() should be made void, too.Reported-by: Stephen Rothwell
Signed-off-by: Hannes Reinecke
Cc: Christoph Hellwig
Signed-off-by: James Bottomley
21 Jan, 2015
1 commit
-
Signed-off-by: Christoph Hellwig
Reviewed-by: James Bottomley
Reviewed-by: Ewan D. Milne
Reviewed-by: Hannes Reinecke
09 Jan, 2015
5 commits
-
Convert scsi_print_result() to use the per-cpu buffer for decoding the
command result and disposition.Tested-by: Robert Elliott
Reviewed-by: Robert Elliott
Signed-off-by: Hannes Reinecke
Signed-off-by: Christoph Hellwig -
Convert sense buffer logging to use the per-cpu buffer to avoid line
breakup.Tested-by: Robert Elliott
Reviewed-by: Robert Elliott
Signed-off-by: Hannes Reinecke
Signed-off-by: Christoph Hellwig -
Use an external buffer for __scsi_print_command() and move command
logging over to use the per-cpu logging buffer. With that we can
guarantee the command always will always be formatted in one line.
So we can even print out a variable length command correctly across
several lines. Finally rename __scsi_print_command() to
__scsi_format_comment() to better reflect the functionality.Tested-by: Robert Elliott
Reviewed-by: Robert Elliott
Signed-off-by: Hannes Reinecke
Signed-off-by: Christoph Hellwig -
The request tag provides a concise identification of a SCSI
command, so we should be printing that out for scmd_printk().Suggested-by: Christoph Hellwig
Tested-by: Robert Elliott
Reviewed-by: Robert Elliott
Signed-off-by: Hannes Reinecke
Signed-off-by: Christoph Hellwig -
Implement a per-cpu buffer for formatting messages to avoid line breaks
up under high load. This patch implements scmd_printk() and
sdev_prefix_printk() using the per-cpu buffer and makes sdev_printk() a
wrapper for sdev_prefix_printk().Tested-by: Robert Elliott
Reviewed-by: Robert Elliott
Signed-off-by: Hannes Reinecke
Signed-off-by: Christoph Hellwig