← Back to team overview

kernel-packages team mailing list archive

[Bug 1197526] Re: Include Synthetic Fiber Channel and a few other storage patches in Ubuntu 13.10

 

Folks, here are all the commit numbers that you should include in to
Ubuntu 13.10. The list is long so please contact me directly for any
clarifications. We really appreciate your effort in including these.

Thanks,
Abhishek

>From a5715ca86fd37138caa67ccfdbdc78d6a87c2c01 Mon Sep 17 00:00:00 2001
From: K. Y. Srinivasan <kys@xxxxxxxxxxxxx>
Date: Wed, 6 Feb 2013 05:15:28 -0800
Subject: [PATCH 45/88] storvsc: Initialize the sglist

Properly initialize scatterlist before using it.

Signed-off-by: K. Y. Srinivasan <kys@xxxxxxxxxxxxx>
Cc: stable@xxxxxxxxxxxxxxx
Signed-off-by: James Bottomley JBottomley@xxxxxxxxxxxxx


>From 4b5c61923dc4a90301fd132fb57efc82c66fd4a7 Mon Sep 17 00:00:00 2001
From: K. Y. Srinivasan <kys@xxxxxxxxxxxxx>
Date: Thu, 21 Feb 2013 12:04:52 -0800
Subject: [PATCH 46/88] storvsc: Restructure error handling code on command completion

In preparation for handling additional sense codes, restructure and cleanup
the error handling code in the command completion code path.

Signed-off-by: K. Y. Srinivasan <kys@xxxxxxxxxxxxx>
Reviewed-by: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>
Signed-off-by: James Bottomley JBottomley@xxxxxxxxxxxxx

>From 2843dd25ebda73f48c4bf316901646ec355d3206 Mon Sep 17 00:00:00 2001
From: K. Y. Srinivasan <kys@xxxxxxxxxxxxx>
Date: Thu, 21 Feb 2013 12:04:53 -0800
Subject: [PATCH 47/88] storvsc: Handle dynamic resizing of the device

Handle LUN size changes by re-scanning the device.

Signed-off-by: K. Y. Srinivasan <kys@xxxxxxxxxxxxx>
Reviewed-by: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>
Signed-off-by: James Bottomley JBottomley@xxxxxxxxxxxxx


>From 72851dc16518007a57bd5450a930bf4880e9d218 Mon Sep 17 00:00:00 2001
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Thu, 21 Feb 2013 12:04:51 -0800
Subject: [PATCH 48/88] storvsc: avoid usage of WRITE_SAME

Set scsi_device->no_write_same because the host does not support it.
Also blacklist WRITE_SAME to avoid (and log) accident usage.

If the guest uses the ext4 filesystem, storvsc hangs while it prints
these messages in an endless loop:
...
[  161.459523] hv_storvsc vmbus_0_1: cmd 0x41 scsi status 0x2 srb status 0x6
[  161.462157] sd 2:0:0:0: [sda]
[  161.463135] Sense Key : No Sense [current]
[  161.464983] sd 2:0:0:0: [sda]
[  161.465899] Add. Sense: No additional sense information
[  161.468211] hv_storvsc vmbus_0_1: cmd 0x41 scsi status 0x2 srb status 0x6
[  161.475766] sd 2:0:0:0: [sda]
[  161.476728] Sense Key : No Sense [current]
[  161.478284] sd 2:0:0:0: [sda]
[  161.479441] Add. Sense: No additional sense information
...

This happens with a guest running on Windows Server 2012, but happens to
work while running on Windows Server 2008. WRITE_SAME isnt really
supported by both versions, so disable the command usage globally.

Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
Signed-off-by: K. Y. Srinivasan <kys@xxxxxxxxxxxxx>
Signed-off-by: James Bottomley JBottomley@xxxxxxxxxxxxx


>From 53c6dce110bb0d5fcf058ed4f1fc55c4e4fceea9 Mon Sep 17 00:00:00 2001
From: K. Y. Srinivasan <kys@xxxxxxxxxxxxx>
Date: Wed, 22 May 2013 15:13:47 -0700
Subject: [PATCH 81/88] Drivers: scsi: storvsc: Make the scsi timeout a module parameter

The standard scsi timeout is not appropriate in some of the environments where
Hyper-V is deployed. Set this timeout appropriately for all devices managed
by this driver. Further make this a module parameter.

Signed-off-by: K. Y. Srinivasan <kys@xxxxxxxxxxxxx>
Reviewed-by: Haiyang Zhang haiyangz@xxxxxxxxxxxxx


>From 8e2a24b0b815901a5fc34dc24798bbd2a79ec677 Mon Sep 17 00:00:00 2001
From: K. Y. Srinivasan <kys@xxxxxxxxxxxxx>
Date: Wed, 22 May 2013 15:16:06 -0700
Subject: [PATCH 82/88] Drivers: scsi: storvsc: Update the storage protocol to win8 level

Update the storage protocol to the win8 level.

Signed-off-by: K. Y. Srinivasan kys@xxxxxxxxxxxxx

>From 9c0d63cfdef9437c5995861f82b9cae6584c244c Mon Sep 17 00:00:00 2001
From: K. Y. Srinivasan <kys@xxxxxxxxxxxxx>
Date: Wed, 22 May 2013 15:16:43 -0700
Subject: [PATCH 83/88] Drivers: scsi: storvsc: Implement multi-channel support

Implement multi-channel support for the storage devices.

Signed-off-by: K. Y. Srinivasan kys@xxxxxxxxxxxxx

>From 2de3ef91f02ebb70afb245261243ce15837f73c9 Mon Sep 17 00:00:00 2001
From: K. Y. Srinivasan <kys@xxxxxxxxxxxxx>
Date: Wed, 22 May 2013 15:18:07 -0700
Subject: [PATCH 84/88] Drivers: scsi: storvsc: Support FC devices

Add support for synthetic Fiber Channel devices.

Signed-off-by: K. Y. Srinivasan kys@xxxxxxxxxxxxx

>From f21b0d1af0569add217baf9fa92d6d7103f4748b Mon Sep 17 00:00:00 2001
From: K. Y. Srinivasan <kys@xxxxxxxxxxxxx>
Date: Wed, 22 May 2013 15:18:46 -0700
Subject: [PATCH 85/88] Drivers: scsi: storvsc: Increase the value of STORVSC_MAX_IO_REQUESTS

Increase the value of STORVSC_MAX_IO_REQUESTS to 200 requests. The current
ringbuffer size can support this higher value.

Signed-off-by: K. Y. Srinivasan kys@xxxxxxxxxxxxx

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1197526

Title:
  Include Synthetic Fiber Channel and a few other storage patches in
  Ubuntu 13.10

Status in “linux” package in Ubuntu:
  In Progress
Status in “linux” source package in Saucy:
  In Progress

Bug description:
  Hi folks,

  Please include the following code whenever Ubuntu 13.10 is installed
  on Hyper-V:

  1) [SCSI] storvsc: Support FC devices
      
      Signed-off-by: K. Y. Srinivasan <kys@xxxxxxxxxxxxx>
      Reviewed-by: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>
      Signed-off-by: James Bottomley <JBottomley@xxxxxxxxxxxxx>

  has been added to the upstream scsi tree On branch "postmerge"
  You can find it here:

  http://git.kernel.org/?p=linux/kernel/git/jejb/scsi.git;a=commit;h=7bee3b6ac315e1f9da705c416174f037fa0ca17f

  2)     [SCSI] Drivers: scsi: storvsc: Increase the value of STORVSC_MAX_IO_REQUESTS
      
      Increase the value of STORVSC_MAX_IO_REQUESTS to 200 requests. The current
      ringbuffer size can support this higher value.
      
      Signed-off-by: K. Y. Srinivasan <kys@xxxxxxxxxxxxx>
      Reviewed-by: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>
      Signed-off-by: James Bottomley <JBottomley@xxxxxxxxxxxxx>

  has been added to the upstream scsi tree On branch "postmerge"
  You can find it here:

  http://git.kernel.org/?p=linux/kernel/git/jejb/scsi.git;a=commit;h=47fe56c9d9e5f474c3cb2e780c76f4e0164fae09

  3)  [SCSI] storvsc: Implement multi-channel support
      
      Signed-off-by: K. Y. Srinivasan <kys@xxxxxxxxxxxxx>
      Reviewed-by: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>
      Signed-off-by: James Bottomley <JBottomley@xxxxxxxxxxxxx>

  has been added to the upstream scsi tree On branch "postmerge"
  You can find it here:

  http://git.kernel.org/?p=linux/kernel/git/jejb/scsi.git;a=commit;h=f0e34296f2f3831842de58136f1195b49f6e8c85

  4)     [SCSI] storvsc: Update the storage protocol to win8 level
      
      Signed-off-by: K. Y. Srinivasan <kys@xxxxxxxxxxxxx>
      Reviewed-by: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>
      Signed-off-by: James Bottomley <JBottomley@xxxxxxxxxxxxx>

  has been added to the upstream scsi tree On branch "misc"
  You can find it here:

  http://git.kernel.org/?p=linux/kernel/git/jejb/scsi.git;a=commit;h=8b612fa23f13a51f5ee8eb318fe05eef63dc3de9

  5)       [SCSI] storvsc: Increase the value of scsi timeout for storvsc devices
      
      The standard scsi timeout is not appropriate in some of the environments where
      Hyper-V is deployed. Set this timeout appropriately for all devices managed
      by this driver.
      
      On cloud environments where storage latencies may be unbounded, having the
      scsi layer initiating recovery can be problematic since (a) the host is
      already implementing a variety of recovery strategies and (b) implementing a
      recovery strategy at the VM level may be more appropriate in cases where
      storage latencies exceed a certain threshold.
      
      Signed-off-by: K. Y. Srinivasan <kys@xxxxxxxxxxxxx>
      Reviewed-by: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>
      Signed-off-by: James Bottomley <JBottomley@xxxxxxxxxxxxx>

  has been added to the upstream scsi tree On branch "misc"
  You can find it here:

  http://git.kernel.org/?p=linux/kernel/git/jejb/scsi.git;a=commit;h=893def38211980cf9581a74dfdc66be4d77a1db6

  Thanks,
  Abhishek

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1197526/+subscriptions