]> Pileus Git - ~andy/linux/blobdiff - include/target/target_core_base.h
Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[~andy/linux] / include / target / target_core_base.h
index 199b0ad1a55ebd35268befd6c884b41da88bff5b..c4af592f7057e472d8953099c56651423d0ec6ad 100644 (file)
@@ -75,6 +75,8 @@
 #define DA_MAX_WRITE_SAME_LEN                  0
 /* Default max transfer length */
 #define DA_FABRIC_MAX_SECTORS                  8192
+/* Use a model alias based on the configfs backend device name */
+#define DA_EMULATE_MODEL_ALIAS                 0
 /* Emulation for Direct Page Out */
 #define DA_EMULATE_DPO                         0
 /* Emulation for Forced Unit Access WRITEs */
@@ -193,6 +195,7 @@ enum tcm_sense_reason_table {
        TCM_RESERVATION_CONFLICT                = R(0x10),
        TCM_ADDRESS_OUT_OF_RANGE                = R(0x11),
        TCM_OUT_OF_RESOURCES                    = R(0x12),
+       TCM_PARAMETER_LIST_LENGTH_ERROR         = R(0x13),
 #undef R
 };
 
@@ -591,6 +594,7 @@ struct se_dev_entry {
 };
 
 struct se_dev_attrib {
+       int             emulate_model_alias;
        int             emulate_dpo;
        int             emulate_fua_write;
        int             emulate_fua_read;