diff options
Diffstat (limited to 'include/target')
-rw-r--r-- | include/target/target_core_base.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/target/target_core_base.h b/include/target/target_core_base.h index 5350f6e580f0..645d90ac6097 100644 --- a/include/target/target_core_base.h +++ b/include/target/target_core_base.h | |||
@@ -71,6 +71,8 @@ | |||
71 | #define DA_UNMAP_GRANULARITY_DEFAULT 0 | 71 | #define DA_UNMAP_GRANULARITY_DEFAULT 0 |
72 | /* Default unmap_granularity_alignment */ | 72 | /* Default unmap_granularity_alignment */ |
73 | #define DA_UNMAP_GRANULARITY_ALIGNMENT_DEFAULT 0 | 73 | #define DA_UNMAP_GRANULARITY_ALIGNMENT_DEFAULT 0 |
74 | /* Default max_write_same_len, disabled by default */ | ||
75 | #define DA_MAX_WRITE_SAME_LEN 0 | ||
74 | /* Default max transfer length */ | 76 | /* Default max transfer length */ |
75 | #define DA_FABRIC_MAX_SECTORS 8192 | 77 | #define DA_FABRIC_MAX_SECTORS 8192 |
76 | /* Emulation for Direct Page Out */ | 78 | /* Emulation for Direct Page Out */ |
@@ -609,6 +611,7 @@ struct se_dev_attrib { | |||
609 | u32 max_unmap_block_desc_count; | 611 | u32 max_unmap_block_desc_count; |
610 | u32 unmap_granularity; | 612 | u32 unmap_granularity; |
611 | u32 unmap_granularity_alignment; | 613 | u32 unmap_granularity_alignment; |
614 | u32 max_write_same_len; | ||
612 | struct se_device *da_dev; | 615 | struct se_device *da_dev; |
613 | struct config_group da_group; | 616 | struct config_group da_group; |
614 | }; | 617 | }; |