On 12/15/2015 04:54 PM, Jitendra Bhivare wrote:
From: Jitendra <jitendra.bhiv...@avagotech.com>

This is second part of actual fix for soft lockup.

All mbox cmds issued using BMBX and MCC are synchronized using mutex
mbox_lock instead of spin_lock. Used mutex_lock_interruptible where
ever possible.

Signed-off-by: Jitendra <jitendra.bhiv...@avagotech.com>
---
  drivers/scsi/be2iscsi/be.h      |    2 +-
  drivers/scsi/be2iscsi/be_cmds.c |   73 ++++++++++++++-------------
  drivers/scsi/be2iscsi/be_main.c |    2 +-
  drivers/scsi/be2iscsi/be_mgmt.c |  105 ++++++++++++++++++++------------------
  4 files changed, 94 insertions(+), 88 deletions(-)

Reviewed-by: Hannes Reinecke <h...@suse.com>

Cheers,

Hannes
--
Dr. Hannes Reinecke                            zSeries & Storage
h...@suse.de                                   +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
HRB 21284 (AG Nürnberg)
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to