📄 iscsi-limits.h
字号:
#ifndef ISCSI_LIMITS_H_#define ISCSI_LIMITS_H_/* * iSCSI driver for Linux * Copyright (C) 2001 Cisco Systems, Inc. * maintained by linux-iscsi@cisco.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published * by the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * See the file COPYING included with this distribution for more details. * * $Id: iscsi-limits.h,v 1.2 2002/08/21 20:55:05 smferris Exp $ * * iscsi-limits.h * */#define ISCSI_CMDS_PER_LUN 12#define ISCSI_MIN_CANQUEUE 64#define ISCSI_MAX_CANQUEUE 64#define ISCSI_PREALLOCATED_TASKS 64#define ISCSI_MAX_SG 64#define ISCSI_RXCTRL_SIZE ((2 * sizeof(struct IscsiHdr)) + 4096 + 4) /* header plus alignment plus max login pdu size + pad */#define ISCSI_MAX_CMD_LEN 12#define ISCSI_MAX_TASKS_PER_SESSION (ISCSI_CMDS_PER_LUN * ISCSI_MAX_LUN)#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -