Files
linux/include/scsi
Bart Van Assche 9cb93be149 scsi: core: Reduce memory required for SCSI logging
[ Upstream commit dccc96abfb ]

The data structure used for log messages is so large that it can cause a
boot failure. Since allocations from that data structure can fail anyway,
use kmalloc() / kfree() instead of that data structure.

See also https://bugzilla.kernel.org/show_bug.cgi?id=204119.
See also commit ded85c193a ("scsi: Implement per-cpu logging buffer") # v4.0.

Reported-by: Jan Palus <jpalus@fastmail.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.com>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Cc: Ming Lei <ming.lei@redhat.com>
Cc: Jan Palus <jpalus@fastmail.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-10-07 18:53:15 +02:00
..
2016-07-13 22:04:27 -04:00
2012-02-19 08:08:58 -06:00
2016-07-20 19:49:41 -04:00
2016-01-27 20:36:10 +08:00
2016-02-23 21:27:02 -05:00
2016-04-04 12:07:41 -04:00
2015-11-09 17:11:57 -08:00
2014-07-17 22:07:37 +02:00
2005-04-16 15:20:36 -07:00
2018-01-23 19:57:04 +01:00
2015-05-18 13:35:56 -04:00