Commit 8d3a8248 authored by Bart Van Assche's avatar Bart Van Assche Committed by James Bottomley

target: Correct a comment

Correct the comment above the definition of TCM_MAX_COMMAND_SIZE.
A quote from Christoph:

    There aren't any legacy issues, we just decided to handle >
    16 byte CDBs in the slow path.
Signed-off-by: default avatarBart Van Assche <>
Reviewed-by: default avatarChristoph Hellwig <>
Reviewed-by: default avatarHannes Reinecke <>
Signed-off-by: default avatarJames Bottomley <>
parent 07e38420
......@@ -17,16 +17,8 @@
/* Don't raise above 511 or REPORT_LUNS needs to handle >1 page */
* By default we use 32-byte CDBs in TCM Core and subsystem plugin code.
* Note that both include/scsi/scsi_cmnd.h:MAX_COMMAND_SIZE and
* include/linux/blkdev.h:BLOCK_MAX_CDB as of v2.6.36-rc4 still use
* 16-byte CDBs by default and require an extra allocation for
* 32-byte CDBs to because of legacy issues.
* Within TCM Core there are no such legacy limitiations, so we go ahead
* use 32-byte CDBs by default and use include/scsi/scsi.h:scsi_command_size()
* within all TCM Core and subsystem plugin code.
* Maximum size of a CDB that can be stored in se_cmd without allocating
* memory dynamically for the CDB.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment