提交 8c2a09d6 编写于 作者: C Chenguangli 提交者: Yang Yingliang

scsi/hifc: fix the issue that the system is suspended during the pressure test.

driver inclusion
category: bug
bugzilla: NA

https://gitee.com/openeuler/kernel/issues/I29B9O?from=project-issue
------------------------------------------------------------------

Resolved the issue that the system is suspended due to log screen
flushing during the pressure test.
Signed-off-by: NChenguangli <chenguangli2@huawei.com>
Reviewed-by: NZengweiliang <zengweiliang.zengweiliang@huawei.com>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
上级 ebebae2b
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
/* B version, B0XX Corresponding x.x */ /* B version, B0XX Corresponding x.x */
#define UNF_B_VERSION "5.0" #define UNF_B_VERSION "5.0"
/* Indicates the minor version number of the driver */ /* Indicates the minor version number of the driver */
#define UNF_DRIVER_VERSION "9" #define UNF_DRIVER_VERSION "10"
/* version num */ /* version num */
#define UNF_FC_VERSION UNF_MAJOR_VERSION "." UNF_B_VERSION "." UNF_DRIVER_VERSION #define UNF_FC_VERSION UNF_MAJOR_VERSION "." UNF_B_VERSION "." UNF_DRIVER_VERSION
extern unsigned int unf_dbg_level; extern unsigned int unf_dbg_level;
......
...@@ -58,7 +58,7 @@ enum event_log_e { ...@@ -58,7 +58,7 @@ enum event_log_e {
#define UNF_IO_ATT_PRINT_TIMES 2 #define UNF_IO_ATT_PRINT_TIMES 2
#define UNF_LOGIN_ATT_PRINT_TIMES 100 #define UNF_LOGIN_ATT_PRINT_TIMES 100
#define UNF_IO_ATT_PRINT_LIMIT msecs_to_jiffies(2 * 1000) #define UNF_IO_ATT_PRINT_LIMIT msecs_to_jiffies(6 * 1000)
extern unsigned int unf_dbg_level; extern unsigned int unf_dbg_level;
extern unsigned int log_print_level; extern unsigned int log_print_level;
......
...@@ -2074,6 +2074,9 @@ unsigned int unf_send_rrq(struct unf_lport_s *v_lport, ...@@ -2074,6 +2074,9 @@ unsigned int unf_send_rrq(struct unf_lport_s *v_lport,
UNF_CHECK_VALID(0x3363, UNF_TRUE, v_rport, return UNF_RETURN_ERROR); UNF_CHECK_VALID(0x3363, UNF_TRUE, v_rport, return UNF_RETURN_ERROR);
UNF_CHECK_VALID(0x3364, UNF_TRUE, v_xchg, return UNF_RETURN_ERROR); UNF_CHECK_VALID(0x3364, UNF_TRUE, v_xchg, return UNF_RETURN_ERROR);
if (v_xchg->rport_bind_jifs != v_rport->rport_alloc_jifs ||
(v_rport->nport_id == INVALID_VALUE32))
return ret;
/* Get & Set New free Exchange for RRQ */ /* Get & Set New free Exchange for RRQ */
xchg = unf_get_sfs_free_xchg_and_init(v_lport, v_rport->nport_id, xchg = unf_get_sfs_free_xchg_and_init(v_lport, v_rport->nport_id,
v_rport, &fc_entry); v_rport, &fc_entry);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册