iscsi-limits.h

来自「这个linux源代码是很全面的~基本完整了~使用c编译的~由于时间问题我没有亲自」· C头文件 代码 · 共 37 行

H
37 行
字号
#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 + =
减小字号Ctrl + -
显示快捷键?