summaryrefslogtreecommitdiffstats
path: root/include/target
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2013-12-17 09:18:48 +0100
committerNicholas Bellinger <nab@linux-iscsi.org>2013-12-17 18:04:30 -0800
commitfbfe858fea2a45df6339eb03dd1715b51f1bdc92 (patch)
treef65f3bc17c6762a7e6bccd7272118ef0788f8ca1 /include/target
parent03ba84ca95a84dba9b42492edd2632dc3c7eb359 (diff)
downloadlinux-fbfe858fea2a45df6339eb03dd1715b51f1bdc92.tar.gz
linux-fbfe858fea2a45df6339eb03dd1715b51f1bdc92.tar.bz2
linux-fbfe858fea2a45df6339eb03dd1715b51f1bdc92.zip
target_core_spc: Include target device descriptor in VPD page 83
We should be including a descriptor referring to the target device to allow identification of different TCM instances. (nab: Bump SE_INQUIRY_BUF to 1024 bytes to handle 2x 256 byte SCSI names) Signed-off-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include/target')
-rw-r--r--include/target/target_core_base.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/target/target_core_base.h b/include/target/target_core_base.h
index e653110acb61..6c8001516c6d 100644
--- a/include/target/target_core_base.h
+++ b/include/target/target_core_base.h
@@ -112,7 +112,7 @@
/* Queue Algorithm Modifier default for restricted reordering in control mode page */
#define DA_EMULATE_REST_REORD 0
-#define SE_INQUIRY_BUF 512
+#define SE_INQUIRY_BUF 768
#define SE_MODE_PAGE_BUF 512
#define SE_SENSE_BUF 96