1. 03 2月, 2017 9 次提交
  2. 09 12月, 2016 1 次提交
  3. 18 11月, 2016 1 次提交
  4. 23 5月, 2016 1 次提交
  5. 30 4月, 2016 2 次提交
  6. 22 3月, 2016 1 次提交
    • A
      aacraid: add missing curly braces · 548f0e65
      Arnd Bergmann 提交于
      gcc-6 warns about obviously wrong indentation for newly added code in
      aac_slave_configure():
      
      drivers/scsi/aacraid/linit.c: In function 'aac_slave_configure':
      drivers/scsi/aacraid/linit.c:458:3: warning: statement is indented as if it were guarded by... [-Wmisleading-indentation]
         sdev->tagged_supported = 1;
         ^~~~
      drivers/scsi/aacraid/linit.c:455:4: note: ...this 'else' clause, but it is not
      
      gcc is correct, and evidently this was meant to be within the curly
      braces that should have been there to start with. This patch adds them,
      which avoids the warning and makes it clear what was intended here.
      
      Nothing changes in behavior because in the 'if' block, the
      sdev->tagged_supported flag is known to be set already.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Fixes: 6bf3b630 ("aacraid: SCSI blk tag support")
      Reviewed-by: NRaghava Aditya Renukunta <raghavaaditya.renukunta@pmcs.com>
      Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
      548f0e65
  7. 24 2月, 2016 7 次提交
  8. 26 11月, 2015 1 次提交
  9. 10 11月, 2015 2 次提交
  10. 10 4月, 2015 4 次提交
  11. 25 11月, 2014 1 次提交
  12. 24 11月, 2014 1 次提交
  13. 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
  14. 16 9月, 2014 1 次提交
  15. 18 7月, 2014 1 次提交
  16. 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
  17. 31 10月, 2013 1 次提交
  18. 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
  19. 06 10月, 2012 1 次提交
  20. 20 7月, 2012 2 次提交