libiscsi.c (a8ac6311cc21d78fa284cd43f56df2063f536bf1) libiscsi.c (4cd49ea1330c946db00a28819b766062716aa857)
1/*
2 * iSCSI lib functions
3 *
4 * Copyright (C) 2006 Red Hat, Inc. All rights reserved.
5 * Copyright (C) 2004 - 2006 Mike Christie
6 * Copyright (C) 2004 - 2005 Dmitry Yusupov
7 * Copyright (C) 2004 - 2005 Alex Aizman
8 * maintained by open-iscsi@googlegroups.com

--- 1718 unchanged lines hidden (view full) ---

1727 shost->transportt->eh_timed_out = iscsi_eh_cmd_timed_out;
1728 *hostno = shost->host_no;
1729
1730 session = iscsi_hostdata(shost->hostdata);
1731 memset(session, 0, sizeof(struct iscsi_session));
1732 session->host = shost;
1733 session->state = ISCSI_STATE_FREE;
1734 session->fast_abort = 1;
1/*
2 * iSCSI lib functions
3 *
4 * Copyright (C) 2006 Red Hat, Inc. All rights reserved.
5 * Copyright (C) 2004 - 2006 Mike Christie
6 * Copyright (C) 2004 - 2005 Dmitry Yusupov
7 * Copyright (C) 2004 - 2005 Alex Aizman
8 * maintained by open-iscsi@googlegroups.com

--- 1718 unchanged lines hidden (view full) ---

1727 shost->transportt->eh_timed_out = iscsi_eh_cmd_timed_out;
1728 *hostno = shost->host_no;
1729
1730 session = iscsi_hostdata(shost->hostdata);
1731 memset(session, 0, sizeof(struct iscsi_session));
1732 session->host = shost;
1733 session->state = ISCSI_STATE_FREE;
1734 session->fast_abort = 1;
1735 session->lu_reset_timeout = 15;
1736 session->abort_timeout = 10;
1735 session->mgmtpool_max = ISCSI_MGMT_CMDS_MAX;
1736 session->cmds_max = cmds_max;
1737 session->queued_cmdsn = session->cmdsn = initial_cmdsn;
1738 session->exp_cmdsn = initial_cmdsn + 1;
1739 session->max_cmdsn = initial_cmdsn + 1;
1740 session->max_r2t = 1;
1741 session->tt = iscsit;
1742 mutex_init(&session->eh_mutex);

--- 730 unchanged lines hidden ---
1737 session->mgmtpool_max = ISCSI_MGMT_CMDS_MAX;
1738 session->cmds_max = cmds_max;
1739 session->queued_cmdsn = session->cmdsn = initial_cmdsn;
1740 session->exp_cmdsn = initial_cmdsn + 1;
1741 session->max_cmdsn = initial_cmdsn + 1;
1742 session->max_r2t = 1;
1743 session->tt = iscsit;
1744 mutex_init(&session->eh_mutex);

--- 730 unchanged lines hidden ---