05 Feb, 2015

1 commit


21 Jan, 2015

1 commit


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

    Hannes Reinecke
     
  • 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

    Hannes Reinecke
     
  • 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

    Hannes Reinecke
     
  • 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

    Hannes Reinecke
     
  • 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

    Hannes Reinecke