• Nicholas Bellinger's avatar
    target: Add DIF CHECK_CONDITION ASC/ASCQ exception cases · fcc4f17b
    Nicholas Bellinger authored
    This patch adds support for DIF related CHECK_CONDITION ASC/ASCQ
    exception cases into transport_send_check_condition_and_sense().
    
    This includes:
    
      LOGICAL BLOCK GUARD CHECK FAILED
      LOGICAL BLOCK APPLICATION TAG CHECK FAILED
      LOGICAL BLOCK REFERENCE TAG CHECK FAILED
    
    that used by DIF TYPE1 and TYPE3 failure cases.
    
    Cc: Martin K. Petersen <martin.petersen@oracle.com>
    Cc: Christoph Hellwig <hch@lst.de>
    Cc: Hannes Reinecke <hare@suse.de>
    Cc: Sagi Grimberg <sagig@mellanox.com>
    Cc: Or Gerlitz <ogerlitz@mellanox.com>
    Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
    fcc4f17b
target_core_transport.c 75.9 KB