linux/drivers/target/iscsi/iscsi_target_erl2.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*******************************************************************************
 * This file contains error recovery level two functions used by
 * the iSCSI Target driver.
 *
 * (c) Copyright 2007-2013 Datera, Inc.
 *
 * Author: Nicholas A. Bellinger <[email protected]>
 *
 ******************************************************************************/

#include <linux/slab.h>
#include <scsi/iscsi_proto.h>
#include <target/target_core_base.h>
#include <target/target_core_fabric.h>

#include <target/iscsi/iscsi_target_core.h>
#include "iscsi_target_datain_values.h"
#include "iscsi_target_util.h"
#include "iscsi_target_erl0.h"
#include "iscsi_target_erl1.h"
#include "iscsi_target_erl2.h"
#include "iscsi_target.h"

/*
 *	FIXME: Does RData SNACK apply here as well?
 */
void iscsit_create_conn_recovery_datain_values(
	struct iscsit_cmd *cmd,
	__be32 exp_data_sn)
{}

void iscsit_create_conn_recovery_dataout_values(
	struct iscsit_cmd *cmd)
{}

static int iscsit_attach_active_connection_recovery_entry(
	struct iscsit_session *sess,
	struct iscsi_conn_recovery *cr)
{}

static int iscsit_attach_inactive_connection_recovery_entry(
	struct iscsit_session *sess,
	struct iscsi_conn_recovery *cr)
{}

struct iscsi_conn_recovery *iscsit_get_inactive_connection_recovery_entry(
	struct iscsit_session *sess,
	u16 cid)
{}

void iscsit_free_connection_recovery_entries(struct iscsit_session *sess)
{}

int iscsit_remove_active_connection_recovery_entry(
	struct iscsi_conn_recovery *cr,
	struct iscsit_session *sess)
{}

static void iscsit_remove_inactive_connection_recovery_entry(
	struct iscsi_conn_recovery *cr,
	struct iscsit_session *sess)
{}

/*
 *	Called with cr->conn_recovery_cmd_lock help.
 */
int iscsit_remove_cmd_from_connection_recovery(
	struct iscsit_cmd *cmd,
	struct iscsit_session *sess)
{}

void iscsit_discard_cr_cmds_by_expstatsn(
	struct iscsi_conn_recovery *cr,
	u32 exp_statsn)
{}

int iscsit_discard_unacknowledged_ooo_cmdsns_for_conn(struct iscsit_conn *conn)
{}

int iscsit_prepare_cmds_for_reallegiance(struct iscsit_conn *conn)
{}

int iscsit_connection_recovery_transport_reset(struct iscsit_conn *conn)
{}