diff options
author | Hannes Reinecke <hare@suse.de> | 2015-01-08 01:43:42 -0500 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2015-01-09 09:44:28 -0500 |
commit | ded85c193a391a84076d5c6a7a5668fe164a490e (patch) | |
tree | a8f7796e5dcd0c1263155cb8fc62c4d68cc9ec49 /drivers/scsi/Makefile | |
parent | b0a93d96b2814c725161f91a4e35d0c29ec0f95b (diff) |
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 'drivers/scsi/Makefile')
-rw-r--r-- | drivers/scsi/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/Makefile b/drivers/scsi/Makefile index 58158f11ed7b..447c2d24aafa 100644 --- a/drivers/scsi/Makefile +++ b/drivers/scsi/Makefile | |||
@@ -167,7 +167,7 @@ scsi_mod-y += scsi_scan.o scsi_sysfs.o scsi_devinfo.o | |||
167 | scsi_mod-$(CONFIG_SCSI_NETLINK) += scsi_netlink.o | 167 | scsi_mod-$(CONFIG_SCSI_NETLINK) += scsi_netlink.o |
168 | scsi_mod-$(CONFIG_SYSCTL) += scsi_sysctl.o | 168 | scsi_mod-$(CONFIG_SYSCTL) += scsi_sysctl.o |
169 | scsi_mod-$(CONFIG_SCSI_PROC_FS) += scsi_proc.o | 169 | scsi_mod-$(CONFIG_SCSI_PROC_FS) += scsi_proc.o |
170 | scsi_mod-y += scsi_trace.o | 170 | scsi_mod-y += scsi_trace.o scsi_logging.o |
171 | scsi_mod-$(CONFIG_PM) += scsi_pm.o | 171 | scsi_mod-$(CONFIG_PM) += scsi_pm.o |
172 | 172 | ||
173 | hv_storvsc-y := storvsc_drv.o | 173 | hv_storvsc-y := storvsc_drv.o |