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

Bug #1197526 reported by Abhishek Gupta
22
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Medium
Tim Gardner
Saucy
Fix Released
Medium
Tim Gardner

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 <email address hidden>
    Reviewed-by: Haiyang Zhang <email address hidden>
    Signed-off-by: James Bottomley <email address hidden>

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 <email address hidden>
    Reviewed-by: Haiyang Zhang <email address hidden>
    Signed-off-by: James Bottomley <email address hidden>

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 <email address hidden>
    Reviewed-by: Haiyang Zhang <email address hidden>
    Signed-off-by: James Bottomley <email address hidden>

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 <email address hidden>
    Reviewed-by: Haiyang Zhang <email address hidden>
    Signed-off-by: James Bottomley <email address hidden>

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 <email address hidden>
    Reviewed-by: Haiyang Zhang <email address hidden>
    Signed-off-by: James Bottomley <email address hidden>

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

Tags: saucy
Revision history for this message
Ben Howard (darkmuggle-deactivatedaccount) wrote :

Retargetting to a public bug.

information type: Proprietary → Public
affects: lansing → linux-meta (Ubuntu)
Brad Figg (brad-figg)
affects: linux-meta (Ubuntu) → linux (Ubuntu)
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1197526

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Abhishek Gupta (abgupta) wrote :

Not a bug. New feature code. So marking confirmed.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Tim Gardner (timg-tpi)
Changed in linux (Ubuntu Saucy):
assignee: nobody → Tim Gardner (timg-tpi)
status: Confirmed → In Progress
Revision history for this message
Tim Gardner (timg-tpi) wrote :

All of these patches are in linux-next. Will they get merged for 3.11 ?

Revision history for this message
Abhishek Gupta (abgupta) wrote :

Yes that is correct. They should become a part of 3.11. Please let me know if you need more information.
Thanks,
Abhishek

tags: added: saucy
Revision history for this message
Abhishek Gupta (abgupta) wrote :
Download full text (4.8 KiB)

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 <email address hidden>
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 <email address hidden>
Cc: <email address hidden>
Signed-off-by: James Bottomley <email address hidden>

From 4b5c61923dc4a90301fd132fb57efc82c66fd4a7 Mon Sep 17 00:00:00 2001
From: K. Y. Srinivasan <email address hidden>
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 <email address hidden>
Reviewed-by: Haiyang Zhang <email address hidden>
Signed-off-by: James Bottomley <email address hidden>

From 2843dd25ebda73f48c4bf316901646ec355d3206 Mon Sep 17 00:00:00 2001
From: K. Y. Srinivasan <email address hidden>
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 <email address hidden>
Reviewed-by: Haiyang Zhang <email address hidden>
Signed-off-by: James Bottomley <email address hidden>

From 72851dc16518007a57bd5450a930bf4880e9d218 Mon Sep 17 00:00:00 2001
From: Olaf Hering <email address hidden>
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 <email address hidden>
Signed-off-by: K. Y. Srinivasan <email address hidden>
Signed-off-by: James Bottomley <email address hidden>

From 53c6dce110bb0d5fcf058ed4f1fc55c4e4fceea9 Mon Sep 17 00:00:00 2001
From: K. Y. Srinivasan <email address hidden>
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 e...

Read more...

Revision history for this message
David Medberry (med) wrote :
Changed in linux (Ubuntu Saucy):
importance: Undecided → Medium
Tim Gardner (timg-tpi)
Changed in linux (Ubuntu Saucy):
status: In Progress → Fix Released
Revision history for this message
David Medberry (med) wrote :

Thanks kernel folk.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.