1. 13 6月, 2017 1 次提交
  2. 27 4月, 2017 1 次提交
  3. 28 2月, 2017 1 次提交
  4. 23 2月, 2017 2 次提交
  5. 03 2月, 2017 10 次提交
  6. 09 12月, 2016 1 次提交
  7. 18 11月, 2016 1 次提交
  8. 23 5月, 2016 1 次提交
  9. 30 4月, 2016 2 次提交
  10. 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
  11. 24 2月, 2016 7 次提交
  12. 26 11月, 2015 1 次提交
  13. 10 11月, 2015 2 次提交
  14. 10 4月, 2015 4 次提交
  15. 25 11月, 2014 1 次提交
  16. 24 11月, 2014 1 次提交
  17. 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
  18. 16 9月, 2014 1 次提交
  19. 18 7月, 2014 1 次提交