]> www.infradead.org Git - users/jedix/linux-maple.git/commit
be2iscsi: Fix be_mcc_compl_poll to use tag_state
authorJitendra Bhivare <jitendra.bhivare@broadcom.com>
Thu, 4 Feb 2016 10:19:14 +0000 (15:49 +0530)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 10 Mar 2016 15:21:55 +0000 (07:21 -0800)
commit29938d102f2ca2a39701fcb57f34e4d92856bf36
tree6bc7cdfecf64229b8fb7d47965485e625c00713b
parent3537131f2c0b2aaf9979d3ea751e435c9a3bb946
be2iscsi: Fix be_mcc_compl_poll to use tag_state

Orabug: 22725588

be_mcc_compl_poll waits till 'used' count of MCC WRBQ is zero. This is
to determine the completion of an MCC sent.

Change function to poll for the tag of MCC sent, instead, and wait till
its tag_state is cleared.

Signed-off-by: Jitendra Bhivare <jitendra.bhivare@broadcom.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Dan Duval <dan.duval@oracle.com>
drivers/scsi/be2iscsi/be_cmds.c