1. 06 6月, 2015 13 次提交
  2. 04 6月, 2015 1 次提交
  3. 03 6月, 2015 14 次提交
  4. 02 6月, 2015 4 次提交
    • B
      ipr: Increase default adapter init stage change timeout · 45c44b5f
      Brian King 提交于
      Increase the default init stage change timeout from 15 seconds to 30 seconds.
      This resolves issues we have seen with some adapters not transitioning
      to the first init stage within 15 seconds, which results in adapter
      initialization failures.
      
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NBrian King <brking@linux.vnet.ibm.com>
      Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
      45c44b5f
    • S
      st: implement tape statistics · 05545c92
      Seymour, Shane M 提交于
      This patch implements tape statistics in the st module via
      sysfs. Current no statistics are available for tape I/O and there
      is no easy way to reuse the block layer statistics for tape
      as tape is a character device and does not have perform I/O in
      sector sized chunks (the size of the data written to tape
      can change). For tapes we also need extra stats related to
      things like tape movement (via other I/O).
      
      There have been multiple end users requesting statistics
      including AT&T (and some HP customers who have not given
      permission to be named). It is impossible for them
      to investigate any issues related to tape performance
      in a non-invasive way.
      
      [jejb: eliminate PRId64]
      Signed-off-by: NShane Seymour <shane.seymour@hp.com>
      Tested-by: NShane Seymour <shane.seymour@hp.com>
      Reviewed-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
      05545c92
    • B
      target: Minimize SCSI header #include directives · ba929992
      Bart Van Assche 提交于
      Only include SCSI initiator header files in target code that needs
      these header files, namely the SCSI pass-through code and the tcm_loop
      driver. Change SCSI_SENSE_BUFFERSIZE into TRANSPORT_SENSE_BUFFER in
      target code because the former is intended for initiator code and the
      latter for target code. With this patch the only initiator include
      directives in target code that remain are as follows:
      
      $ git grep -nHE 'include .scsi/(scsi.h|scsi_host.h|scsi_device.h|scsi_cmnd.h)' drivers/target drivers/infiniband/ulp/{isert,srpt} drivers/usb/gadget/legacy/tcm_*.[ch] drivers/{vhost,xen} include/{target,trace/events/target.h}
      drivers/target/loopback/tcm_loop.c:29:#include <scsi/scsi.h>
      drivers/target/loopback/tcm_loop.c:31:#include <scsi/scsi_host.h>
      drivers/target/loopback/tcm_loop.c:32:#include <scsi/scsi_device.h>
      drivers/target/loopback/tcm_loop.c:33:#include <scsi/scsi_cmnd.h>
      drivers/target/target_core_pscsi.c:39:#include <scsi/scsi_device.h>
      drivers/target/target_core_pscsi.c:40:#include <scsi/scsi_host.h>
      drivers/xen/xen-scsiback.c:52:#include <scsi/scsi_host.h> /* SG_ALL */
      Signed-off-by: NBart Van Assche <bart.vanassche@sandisk.com>
      Reviewed-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
      ba929992
    • B
      target: Correct a comment · 8d3a8248
      Bart Van Assche 提交于
      Correct the comment above the definition of TCM_MAX_COMMAND_SIZE.
      A quote from Christoph:
      
          There aren't any legacy issues, we just decided to handle >
          16 byte CDBs in the slow path.
      Signed-off-by: NBart Van Assche <bart.vanassche@sandisk.com>
      Reviewed-by: NChristoph Hellwig <hch@lst.de>
      Reviewed-by: NHannes Reinecke <hare@suse.de>
      Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
      8d3a8248
  5. 01 6月, 2015 8 次提交