1. 10 11月, 2015 8 次提交
  2. 25 5月, 2015 1 次提交
  3. 10 4月, 2015 11 次提交
  4. 25 11月, 2014 1 次提交
  5. 24 11月, 2014 1 次提交
  6. 12 11月, 2014 1 次提交
    • C
      scsi: don't set tagging state from scsi_adjust_queue_depth · c8b09f6f
      Christoph Hellwig 提交于
      Remove the tagged argument from scsi_adjust_queue_depth, and just let it
      handle the queue depth.  For most drivers those two are fairly separate,
      given that most modern drivers don't care about the SCSI "tagged" status
      of a command at all, and many old drivers allow queuing of multiple
      untagged commands in the driver.
      
      Instead we start out with the ->simple_tags flag set before calling
      ->slave_configure, which is how all drivers actually looking at
      ->simple_tags except for one worke anyway.  The one other case looks
      broken, but I've kept the behavior as-is for now.
      
      Except for that we only change ->simple_tags from the ->change_queue_type,
      and when rejecting a tag message in a single driver, so keeping this
      churn out of scsi_adjust_queue_depth is a clear win.
      
      Now that the usage of scsi_adjust_queue_depth is more obvious we can
      also remove all the trivial instances in ->slave_alloc or ->slave_configure
      that just set it to the cmd_per_lun default.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Reviewed-by: NMike Christie <michaelc@cs.wisc.edu>
      Reviewed-by: NHannes Reinecke <hare@suse.de>
      Reviewed-by: NMartin K. Petersen <martin.petersen@oracle.com>
      c8b09f6f
  7. 16 9月, 2014 1 次提交
  8. 18 7月, 2014 1 次提交
  9. 20 3月, 2014 1 次提交
  10. 16 3月, 2014 1 次提交
  11. 29 11月, 2013 1 次提交
    • M
      [SCSI] Disable WRITE SAME for RAID and virtual host adapter drivers · 54b2b50c
      Martin K. Petersen 提交于
      Some host adapters do not pass commands through to the target disk
      directly. Instead they provide an emulated target which may or may not
      accurately report its capabilities. In some cases the physical device
      characteristics are reported even when the host adapter is processing
      commands on the device's behalf. This can lead to adapter firmware hangs
      or excessive I/O errors.
      
      This patch disables WRITE SAME for devices connected to host adapters
      that provide an emulated target. Driver writers can disable WRITE SAME
      by setting the no_write_same flag in the host adapter template.
      
      [jejb: fix up rejections due to eh_deadline patch]
      Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
      Cc: stable@kernel.org
      Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
      54b2b50c
  12. 20 11月, 2013 1 次提交
  13. 31 10月, 2013 1 次提交
  14. 04 7月, 2013 1 次提交
  15. 27 6月, 2013 1 次提交
  16. 11 4月, 2013 1 次提交
  17. 24 2月, 2013 1 次提交
    • P
      [SCSI] aacraid: suppress two GCC warnings · 98f99a8a
      Paul Bolle 提交于
      Building src.o for a 32 bit system triggers two GCC warnings:
          drivers/scsi/aacraid/src.c: In function ‘aac_src_deliver_message’:
          drivers/scsi/aacraid/src.c:410:3: warning: right shift count >= width of type [enabled by default]
          drivers/scsi/aacraid/src.c:434:2: warning: right shift count >= width of type [enabled by default]
      
      These warnings are caused by a right shift of 32. Use upper_32_bits() to
      suppress them.
      Signed-off-by: NPaul Bolle <pebolle@tiscali.nl>
      Cc: Mahesh Rajashekhara <Mahesh_Rajashekhara@pmc-sierra.com>
      Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
      98f99a8a
  18. 30 1月, 2013 1 次提交
  19. 04 1月, 2013 1 次提交
    • G
      Drivers: scsi: remove __dev* attributes. · 6f039790
      Greg Kroah-Hartman 提交于
      CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
      markings need to be removed.
      
      This change removes the use of __devinit, __devexit_p, __devinitdata,
      __devinitconst, and __devexit from these drivers.
      
      Based on patches originally written by Bill Pemberton, but redone by me
      in order to handle some of the coding style issues better, by hand.
      
      Cc: Bill Pemberton <wfp5p@virginia.edu>
      Cc: Adam Radford <linuxraid@lsi.com>
      Cc: "James E.J. Bottomley" <JBottomley@parallels.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      6f039790
  20. 27 11月, 2012 1 次提交
  21. 06 10月, 2012 1 次提交
  22. 20 7月, 2012 2 次提交