05 Dec, 2009

1 commit

  • Add one more important cdb_field_offset that can be returned with
    scsi_invalid_field_in_cdb. It is the offset of the permissions_bit_mask
    field in the capabilities structure.

    Interestingly, the offset is the same for V1/V2

    Signed-off-by: Boaz Harrosh
    Signed-off-by: James Bottomley

    Boaz Harrosh
     

13 Mar, 2009

1 commit

  • Implementation of the osd_req_decode_sense() API. Can be called by
    library users to decode what failed in command executions.

    Add SCSI_OSD_DPRINT_SENSE Kconfig variable. Possible values are:
    0 - Do not print any errors to messages file
    1 - (Default) Print only decoded errors that are not recoverable.
    Recoverable errors are those that the target has complied with
    the request but with a warning. For example read passed end of
    object will return zeros after the last valid byte.
    2- Print all errors.

    Signed-off-by: Boaz Harrosh
    Signed-off-by: James Bottomley

    Boaz Harrosh