1. 12 3月, 2007 1 次提交
    • M
      [SCSI] tgt: rm bio hacks in scsi tgt · 181011e0
      Mike Christie 提交于
      scsi tgt breaks up a command into multple scatterlists
      if we cannot fit all the data in one. This was because
      the block rq helpers did not support large requests and
      because we can get a command of any old size so it is
      hard to preallocate pages for scatterlist large enough
      (we cannot really preallocate pages with the bio map
      user path). In 2.6.20, we added large request support to
      the block layer helper, blk_rq_map_user. And at LSF,
      we talked about increasing SCSI_MAX_PHYS_SEGMENTS for
      scsi tgt if we want to support really really :) large
      (greater than 256 * PAGE_SIZE in the worst mapping case)
      requests.
      
      The only target currently implemented does not even support
      the multiple scatterlists stuff and only supports smaller
      requests, so this patch just coverts scsi tgt to use
      blk_rq_map_user.
      Signed-off-by: NMike Christie <michaelc@cs.wisc.edu>
      Signed-off-by: NFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      181011e0
  2. 08 12月, 2006 1 次提交
  3. 06 12月, 2006 1 次提交
  4. 26 11月, 2006 1 次提交