1. 30 9月, 2016 6 次提交
  2. 28 9月, 2016 3 次提交
  3. 27 9月, 2016 14 次提交
  4. 22 9月, 2016 2 次提交
  5. 20 9月, 2016 2 次提交
    • B
      scsi: ibmvfc: Fix I/O hang when port is not mapped · 07d0e9a8
      Brian King 提交于
      If a VFC port gets unmapped in the VIOS, it may not respond with a CRQ
      init complete following H_REG_CRQ. If this occurs, we can end up having
      called scsi_block_requests and not a resulting unblock until the init
      complete happens, which may never occur, and we end up hanging I/O
      requests.  This patch ensures the host action stay set to
      IBMVFC_HOST_ACTION_TGT_DEL so we move all rports into devloss state and
      unblock unless we receive an init complete.
      
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NBrian King <brking@linux.vnet.ibm.com>
      Acked-by: NTyrel Datwyler <tyreld@linux.vnet.ibm.com>
      Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
      07d0e9a8
    • S
      virtio scsi: Convert to hotplug state machine · 8904f5a5
      Sebastian Andrzej Siewior 提交于
      Install the callbacks via the state machine. It uses the multi instance
      infrastructure of the hotplug code to handle each interface.
      
      virtscsi_set_affinity() is removed from virtscsi_init() because
      virtscsi_cpu_notif_add() (the function which registers the instance) is invoked
      right after it and the cpuhp_state_add_instance() functions invokes the startup
      callback on all online CPUs.
      
      The same thing can not be applied virtscsi_cpu_notif_remove() because
      virtscsi_remove_vqs() invokes virtscsi_set_affinity() with affinity = false as
      argument but the old CPU_DEAD state invoked the function with affinity = true
      (which does not match the DEAD callback).
      Signed-off-by: NSebastian Andrzej Siewior <bigeasy@linutronix.de>
      Cc: "James E.J. Bottomley" <jejb@linux.vnet.ibm.com>
      Cc: linux-scsi@vger.kernel.org
      Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
      Cc: "Michael S. Tsirkin" <mst@redhat.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: virtualization@lists.linux-foundation.org
      Cc: rt@linutronix.de
      Link: http://lkml.kernel.org/r/20160906170457.32393-11-bigeasy@linutronix.deSigned-off-by: NThomas Gleixner <tglx@linutronix.de>
      8904f5a5
  6. 19 9月, 2016 7 次提交
  7. 15 9月, 2016 6 次提交