diff options
author | Mike Christie <mchristi@redhat.com> | 2017-12-19 04:03:55 -0600 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2018-01-12 15:07:30 -0800 |
commit | d120c7083f49d177e6765afad543faa0f243590e (patch) | |
tree | 66a412ed835e221d54f814cc6399b0174475567c /include/target | |
parent | c1c390ba53195aef36e94b2354bc0e603057c293 (diff) | |
download | op-kernel-dev-d120c7083f49d177e6765afad543faa0f243590e.zip op-kernel-dev-d120c7083f49d177e6765afad543faa0f243590e.tar.gz |
target: add SAM_STAT_BUSY sense reason
Add SAM_STAT_BUSY sense_reason. The next patch will have
target_core_user return this value while it is temporarily
blocked and restarting.
Signed-off-by: Mike Christie <mchristi@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include/target')
-rw-r--r-- | include/target/target_core_base.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/target/target_core_base.h b/include/target/target_core_base.h index 2c8d811..00482f9 100644 --- a/include/target/target_core_base.h +++ b/include/target/target_core_base.h @@ -183,6 +183,7 @@ enum tcm_sense_reason_table { TCM_TOO_MANY_SEGMENT_DESCS = R(0x1b), TCM_UNSUPPORTED_SEGMENT_DESC_TYPE_CODE = R(0x1c), TCM_INSUFFICIENT_REGISTRATION_RESOURCES = R(0x1d), + TCM_LUN_BUSY = R(0x1e), #undef R }; |