mbox series

[v2,0/2] scsi: qla2xxx: fixes for FW trace/dump buffers

Message ID 20190814132642.5298-1-martin.wilck@suse.com (mailing list archive)
Headers show
Series scsi: qla2xxx: fixes for FW trace/dump buffers | expand

Message

Martin Wilck Aug. 14, 2019, 1:28 p.m. UTC
From: Martin Wilck <mwilck@suse.com>

Hi Himanshu, hi Martin,

Please consider this series for merging. 

The first patch of the series is a fix for a memory corruption we
saw in a test where qla2xxx was loaded/unloaded repeatedly under
memory pressure. The second one is a cleanup/consistency fix.

Regards,
Martin

Changes in v2: rather then keeping the patches small, cleanup the
buffer allocation code properly, following (and going beyond) Hannes'
review suggestions for the v1 set.

Martin Wilck (2):
  scsi: qla2xxx: qla2x00_alloc_fw_dump: set ha->eft
  scsi: qla2xxx: cleanup trace buffer initialization

 drivers/scsi/qla2xxx/qla_init.c | 218 +++++++++++++++-----------------
 drivers/scsi/qla2xxx/qla_os.c   |   1 +
 2 files changed, 102 insertions(+), 117 deletions(-)

Comments

Martin K. Petersen Aug. 15, 2019, 2:08 a.m. UTC | #1
Martin,

> The first patch of the series is a fix for a memory corruption we
> saw in a test where qla2xxx was loaded/unloaded repeatedly under
> memory pressure. The second one is a cleanup/consistency fix.

Applied to 5.4/scsi-queue, thanks!