Skip to content
Snippets Groups Projects
  1. Mar 24, 2014
  2. Mar 12, 2014
    • Asias He's avatar
      scsi: Introduce req->cdb_len · e922e647
      Asias He authored
      
      Set req->cdb_len to the actual size of the scsi command and only copy
      the actual size of the command.
      
      This reduces the number of bytes we copy.
      
      This also fixes the warning in pvscsi which complains the size of the
      cdb is larger than expected.
      
      Signed-off-by: default avatarAsias He <asias@cloudius-systems.com>
      e922e647
    • Asias He's avatar
      scsi: Intorduce req->free_by_driver flag · 38300d8c
      Asias He authored
      
      This is used to tell lower-level scsi driver to free the request,
      otherwise the scsi layer will free the request.
      
      read/write/flush scsi are async request, they are freed by the
      lower-level scsi driver. Other scsi request are freed by the scsi layer.
      
      Signed-off-by: default avatarAsias He <asias@cloudius-systems.com>
      38300d8c
  3. Mar 06, 2014
Loading