mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-19 09:04:51 +08:00
d1fa7a1d50
This patch exposes default_erl as a TPG attribute so that it may be set TPG wide in demo-mode, but still allow the existing NodeACL attribute to be overridden on a per initiator basis. Reported-by: Arshad Hussain <arshad.hussain@calsoftinc.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
16 lines
797 B
C
16 lines
797 B
C
#ifndef ISCSI_TARGET_NODEATTRIB_H
|
|
#define ISCSI_TARGET_NODEATTRIB_H
|
|
|
|
extern void iscsit_set_default_node_attribues(struct iscsi_node_acl *,
|
|
struct iscsi_portal_group *);
|
|
extern int iscsit_na_dataout_timeout(struct iscsi_node_acl *, u32);
|
|
extern int iscsit_na_dataout_timeout_retries(struct iscsi_node_acl *, u32);
|
|
extern int iscsit_na_nopin_timeout(struct iscsi_node_acl *, u32);
|
|
extern int iscsit_na_nopin_response_timeout(struct iscsi_node_acl *, u32);
|
|
extern int iscsit_na_random_datain_pdu_offsets(struct iscsi_node_acl *, u32);
|
|
extern int iscsit_na_random_datain_seq_offsets(struct iscsi_node_acl *, u32);
|
|
extern int iscsit_na_random_r2t_offsets(struct iscsi_node_acl *, u32);
|
|
extern int iscsit_na_default_erl(struct iscsi_node_acl *, u32);
|
|
|
|
#endif /* ISCSI_TARGET_NODEATTRIB_H */
|