diff options
author | Martin K. Petersen <martin.petersen@oracle.com> | 2022-12-30 17:29:34 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-12-30 17:29:34 +0100 |
commit | 6b1c374c45605504ed32e855c4e0f9b652a1978e (patch) | |
tree | 2c1b90e6ef3c5fde1c871df110d7a3f8a2e3117d /include/scsi | |
parent | Linux 6.2-rc1 (diff) | |
parent | scsi: ufs: core: WLUN suspend SSU/enter hibern8 fail recovery (diff) | |
download | linux-6b1c374c45605504ed32e855c4e0f9b652a1978e.tar.xz linux-6b1c374c45605504ed32e855c4e0f9b652a1978e.zip |
Merge branch '6.2/scsi-queue' into 6.2/scsi-fixes
Pull in remaining patches from the 6.2 queue.
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/scsi')
-rw-r--r-- | include/scsi/scsi_transport_iscsi.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/scsi/scsi_transport_iscsi.h b/include/scsi/scsi_transport_iscsi.h index cab52b0f11d0..34c03707fb6e 100644 --- a/include/scsi/scsi_transport_iscsi.h +++ b/include/scsi/scsi_transport_iscsi.h @@ -236,6 +236,14 @@ enum { ISCSI_SESSION_FREE, }; +enum { + ISCSI_SESSION_TARGET_UNBOUND, + ISCSI_SESSION_TARGET_ALLOCATED, + ISCSI_SESSION_TARGET_SCANNED, + ISCSI_SESSION_TARGET_UNBINDING, + ISCSI_SESSION_TARGET_MAX, +}; + #define ISCSI_MAX_TARGET -1 struct iscsi_cls_session { @@ -264,6 +272,7 @@ struct iscsi_cls_session { */ pid_t creator; int state; + int target_state; /* session target bind state */ int sid; /* session id */ void *dd_data; /* LLD private data */ struct device dev; /* sysfs transport/container device */ |