1. 16 12月, 2005 37 次提交
  2. 15 12月, 2005 3 次提交
    • M
      [SCSI] convert st to use scsi_execute_async · 8b05b773
      Mike Christie 提交于
      convert st to always send scatterlists and kill scsi_request
      usage.
      
      This is the same as last time as it was posted, but with Kai's patches
      merged and we now pass the bytes value to scsi_execute_async.
      
      TODO:
      
      - move DIO code to common place or make block layers usable for ULDs.
      - move buffer allocation code to common place for all ULDs to use. And
      make buffer allocation code handle all queue limits so we can find
      out about problems before calling scsi_execute_async.
      - move indirect (copy_to/from_user) paths commone place or make block
      layers usable for ULDs.
      Signed-off-by: NMike Christie <michaelc@cs.wisc.edu>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      8b05b773
    • M
      [SCSI] convert sg to scsi_execute_async · d6b10348
      Mike Christie 提交于
      Convert sg to always send scatterlists, and kill scsi_request usage.
      
      TODO:
      
      - move DIO code to common place or make block layers usable for ULDs.
      - move buffer allocation code to common place for all ULDs to use. And
      make buffer allocation code obey all queue limits so we can find
      out about problems before calling scsi_execute_async. Currently, sg.c
      could allocate a buffer that is too large, and send the request
      to scsi_execute_async. scsi_execute_async will then check it against
      all the queue limits and return a failure in this case. It would nicer
      to know about the queue limit violation right away.
      - move indirect (copy_to/from_user) paths commone place or make block
      layers usable for ULDs.
      Signed-off-by: NMike Christie <michaelc@cs.wisc.edu>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      d6b10348
    • M
      [SCSI] add kmemcache for scsi_io_context · aa7b5cd7
      Mike Christie 提交于
      Add kmemcache of scsi io contexts.
      
      In the future when we finalize on where these functions will live
      we can add a mempool for it and do a bioset for out REQ_BLOCK_PC
      bios. This is needed becuase the dm-multipath handlers will
      want to use the scsi_exectute* functions for failover and we cannot
      have them and the bio device allocating from the same mempool.
      Signed-off-by: NMike Christie <michaelc@cs.wisc.edu>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      aa7b5cd7