summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2015-01-08 06:43:42 (GMT)
committerChristoph Hellwig <hch@lst.de>2015-01-09 14:44:28 (GMT)
commitded85c193a391a84076d5c6a7a5668fe164a490e (patch)
treea8f7796e5dcd0c1263155cb8fc62c4d68cc9ec49 /lib
parentb0a93d96b2814c725161f91a4e35d0c29ec0f95b (diff)
downloadlinux-ded85c193a391a84076d5c6a7a5668fe164a490e.tar.xz
scsi: Implement per-cpu logging buffer
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 <elliott@hp.com> Reviewed-by: Robert Elliott <elliott@hp.com> Signed-off-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions