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
  4. Feb 12, 2014
  5. Feb 10, 2014
  6. Feb 06, 2014
  7. Feb 02, 2014
  8. Jan 22, 2014
  9. Jan 20, 2014
  10. Dec 27, 2013
    • Asias He's avatar
      virtio: Enable indirect descriptor for vblk and vscsi · 4ec750b7
      Asias He authored
      
      With indirect descriptor, we can queue more buffers in the queue.
      Indirect descriptor helps block device by making the large request does
      not consume the entire ring and making the queue depth deeper. Indirect
      descriptor does not help net device because it makes the queue longer so
      it adds latency. The tests show that indirect descriptor makes blk
      faster and there is no real measurable degradation on net. Also the
      indirect will turn on only when we are short of descriptors.
      
      This patch only enables indirect descriptor for vblk and vscsi. vnet is
      not enabled.
      
      1) vblk
      Before: 340MB/s
      After:  350MB/s
      
      2) vscsi
      Before: 320MB/s
      After:  410MB/s
      
      Signed-off-by: default avatarAsias He <asias@cloudius-systems.com>
      Signed-off-by: default avatarPekka Enberg <penberg@cloudius-systems.com>
      4ec750b7
  11. Dec 20, 2013
  12. Dec 19, 2013
  13. Dec 18, 2013
Loading