Staging: hv: storvsc: Move the storage driver out of the staging area
Subsystems (4)
PATCH 1/1 Staging: hv: storvsc: Move the storage driver out of the staging area
The storage driver (storvsc_drv.c) handles all block storage devices assigned to Linux guests hosted on Hyper-V. This driver has been in the staging tree for a while and this patch moves it out of the staging area.
James was willing to apply this patch during the 3.3-rc phase and a decision was taken to defer this to 3.4 since Greg had queued up a bunch of storvsc patches for 3.4. Now that Greg has applied all of the pending storvsc patches, I am sending this patch to move this driver out of staging. Based on James' recommendation, this patch gets rid of the unneeded files in the staging/hv directory.
---
drivers/scsi/Kconfig | 7 +++++++
drivers/scsi/Makefile | 3 +++
drivers/{staging/hv => scsi}/storvsc_drv.c | 0
drivers/staging/Kconfig | 2 --
drivers/staging/Makefile | 1 -
drivers/staging/hv/Kconfig | 5 -----
drivers/staging/hv/Makefile | 3 ---
drivers/staging/hv/TODO | 5 -----
8 files changed, 10 insertions(+), 16 deletions(-)
rename drivers/{staging/hv => scsi}/storvsc_drv.c (100%)
delete mode 100644 drivers/staging/hv/Kconfig
delete mode 100644 drivers/staging/hv/Makefile
delete mode 100644 drivers/staging/hv/TODOdrivers/scsi/Kconfig +7 -0
@@ -662,6 +662,13 @@ config VMWARE_PVSCSI To compile this driver as a module, choose M here: the module will be called vmw_pvscsi. +config HYPERV_STORAGE + tristate "Microsoft Hyper-V virtual storage driver" + depends on SCSI && HYPERV + default HYPERV + help + Select this option to enable the Hyper-V virtual storage driver. + config LIBFC tristate "LibFC module" select SCSI_FC_ATTRS
drivers/scsi/Makefile +3 -0
@@ -142,6 +142,7 @@ obj-$(CONFIG_SCSI_BNX2_ISCSI) += libiscsi.o bnx2i/ obj-$(CONFIG_BE2ISCSI) += libiscsi.o be2iscsi/ obj-$(CONFIG_SCSI_PMCRAID) += pmcraid.o obj-$(CONFIG_VMWARE_PVSCSI) += vmw_pvscsi.o +obj-$(CONFIG_HYPERV_STORAGE) += hv_storvsc.o obj-$(CONFIG_ARM) += arm/
@@ -170,6 +171,8 @@ scsi_mod-$(CONFIG_SCSI_PROC_FS) += scsi_proc.o scsi_mod-y += scsi_trace.o scsi_mod-$(CONFIG_PM) += scsi_pm.o +hv_storvsc-y := storvsc_drv.o + scsi_tgt-y += scsi_tgt_lib.o scsi_tgt_if.o sd_mod-objs := sd.o
drivers/scsi/storvsc_drv.c renamed from drivers/staging/hv/storvsc_drv.c +0 -0
drivers/staging/Kconfig +0 -2
@@ -78,8 +78,6 @@ source "drivers/staging/vt6655/Kconfig" source "drivers/staging/vt6656/Kconfig" -source "drivers/staging/hv/Kconfig" - source "drivers/staging/vme/Kconfig" source "drivers/staging/sep/Kconfig"
drivers/staging/Makefile +0 -1
@@ -30,7 +30,6 @@ obj-$(CONFIG_USB_SERIAL_QUATECH_USB2) += quatech_usb2/ obj-$(CONFIG_OCTEON_ETHERNET) += octeon/ obj-$(CONFIG_VT6655) += vt6655/ obj-$(CONFIG_VT6656) += vt6656/ -obj-$(CONFIG_HYPERV) += hv/ obj-$(CONFIG_VME_BUS) += vme/ obj-$(CONFIG_DX_SEP) += sep/ obj-$(CONFIG_IIO) += iio/
drivers/staging/hv/Kconfig deleted +0 -5
@@ -1,5 +0,0 @@ -config HYPERV_STORAGE - tristate "Microsoft Hyper-V virtual storage driver" - depends on HYPERV && SCSI - help - Select this option to enable the Hyper-V virtual storage driver.
drivers/staging/hv/Makefile deleted +0 -3
@@ -1,3 +0,0 @@ -obj-$(CONFIG_HYPERV_STORAGE) += hv_storvsc.o - -hv_storvsc-y := storvsc_drv.o
drivers/staging/hv/TODO deleted +0 -5
@@ -1,5 +0,0 @@ -TODO: - - audit the scsi driver - -Please send patches for this code to Greg Kroah-Hartman <[email protected]>, -Haiyang Zhang <[email protected]>, and K. Y. Srinivasan <[email protected]>
Signature · 1 line
1.7.4.1
Greg KH
maintainerQuoted 12 lines · K. Y. Srinivasan
The storage driver (
storvsc_drv.c) handles all block storage devices assigned to Linux guests hosted on Hyper-V. This driver has been in the staging tree for a while and this patch moves it out of the staging area.James was willing to apply this patch during the 3.3-rc phase and a decision was taken to defer this to 3.4 since Greg had queued up a bunch of storvsc patches for 3.4. Now that Greg has applied all of the pending storvsc patches, I am sending this patch to move this driver out of staging. Based on James' recommendation, this patch gets rid of the unneeded files in the staging/hv directory.
Signed-off-by K. Y. Srinivasan <[email protected]>
Quoted 14 lines
---
drivers/scsi/Kconfig | 7 +++++++
drivers/scsi/Makefile | 3 +++
drivers/{staging/hv => scsi}/storvsc_drv.c | 0
drivers/staging/Kconfig | 2 --
drivers/staging/Makefile | 1 -
drivers/staging/hv/Kconfig | 5 -----
drivers/staging/hv/Makefile | 3 ---
drivers/staging/hv/TODO | 5 -----
8 files changed, 10 insertions(+), 16 deletions(-)
rename drivers/{staging/hv => scsi}/storvsc_drv.c (100%)
delete mode 100644 drivers/staging/hv/Kconfig
delete mode 100644 drivers/staging/hv/Makefile
delete mode 100644 drivers/staging/hv/TODOJames, can I add your Acked-by: for this patch?
thanks,
greg k-h
Quoted 40 lines
-----Original Message-----
From: Greg KH [mailto:[email protected]]
Sent: Friday, February 10, 2012 1:02 PM
To: KY Srinivasan; [email protected]
Cc: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; linux- [email protected]
Subject: Re: [PATCH 1/1] Staging: hv: storvsc: Move the storage driver out of the staging areaQuoted 12 lines · K. Y. Srinivasan
The storage driver (
storvsc_drv.c) handles all block storage devices assigned to Linux guests hosted on Hyper-V. This driver has been in the staging tree for a while and this patch moves it out of the staging area.James was willing to apply this patch during the 3.3-rc phase and a decision was taken to defer this to 3.4 since Greg had queued up a bunch of storvsc patches for 3.4. Now that Greg has applied all of the pending storvsc patches, I am sending this patch to move this driver out of staging. Based on James' recommendation, this patch gets rid of the unneeded files in the staging/hv directory.
Signed-off-by K. Y. Srinivasan <[email protected]>Quoted 14 lines
--- drivers/scsi/Kconfig | 7 +++++++ drivers/scsi/Makefile | 3 +++ drivers/{staging/hv => scsi}/storvsc_drv.c | 0 drivers/staging/Kconfig | 2 -- drivers/staging/Makefile | 1 - drivers/staging/hv/Kconfig | 5 ----- drivers/staging/hv/Makefile | 3 --- drivers/staging/hv/TODO | 5 ----- 8 files changed, 10 insertions(+), 16 deletions(-) rename drivers/{staging/hv => scsi}/storvsc_drv.c (100%) delete mode 100644 drivers/staging/hv/Kconfig delete mode 100644 drivers/staging/hv/Makefile delete mode 100644 drivers/staging/hv/TODO
Quoted 1 line
James, can I add your Acked-by: for this patch?
James,
Based on my understanding of your comments, I think this is what you wanted. So, what is the verdict.
Regards,
K. Y.
James Bottomley
Acked-byQuoted 28 lines · Greg KH
Quoted 12 lines · K. Y. Srinivasan
The storage driver (
storvsc_drv.c) handles all block storage devices assigned to Linux guests hosted on Hyper-V. This driver has been in the staging tree for a while and this patch moves it out of the staging area.James was willing to apply this patch during the 3.3-rc phase and a decision was taken to defer this to 3.4 since Greg had queued up a bunch of storvsc patches for 3.4. Now that Greg has applied all of the pending storvsc patches, I am sending this patch to move this driver out of staging. Based on James' recommendation, this patch gets rid of the unneeded files in the staging/hv directory.
Signed-off-by K. Y. Srinivasan <[email protected]>Quoted 14 lines
--- drivers/scsi/Kconfig | 7 +++++++ drivers/scsi/Makefile | 3 +++ drivers/{staging/hv => scsi}/storvsc_drv.c | 0 drivers/staging/Kconfig | 2 -- drivers/staging/Makefile | 1 - drivers/staging/hv/Kconfig | 5 ----- drivers/staging/hv/Makefile | 3 --- drivers/staging/hv/TODO | 5 ----- 8 files changed, 10 insertions(+), 16 deletions(-) rename drivers/{staging/hv => scsi}/storvsc_drv.c (100%) delete mode 100644 drivers/staging/hv/Kconfig delete mode 100644 drivers/staging/hv/Makefile delete mode 100644 drivers/staging/hv/TODO
Quoted 1 line
James, can I add your Acked-by: for this patch?
Yes ... i finally managed to pull your tree down and verify it.
James
Quoted 41 lines
-----Original Message-----
From: James Bottomley [mailto:[email protected]]
Sent: Monday, February 13, 2012 2:29 PM
To: Greg KH
Cc: KY Srinivasan; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; linux- [email protected]
Subject: Re: [PATCH 1/1] Staging: hv: storvsc: Move the storage driver out of the staging areaQuoted 28 lines · Greg KH
Quoted 26 lines · K. Y. Srinivasan
The storage driver (
storvsc_drv.c) handles all block storage devices assigned to Linux guests hosted on Hyper-V. This driver has been in the staging tree for a while and this patch moves it out of the staging area.James was willing to apply this patch during the 3.3-rc phase and a decision was taken to defer this to 3.4 since Greg had queued up a bunch of storvsc patches for 3.4. Now that Greg has applied all of the pending storvsc patches, I am sending this patch to move this driver out of staging. Based on James' recommendation, this patch gets rid of the unneeded files in the staging/hv directory.
Signed-off-by K. Y. Srinivasan <[email protected]>--- drivers/scsi/Kconfig | 7 +++++++ drivers/scsi/Makefile | 3 +++ drivers/{staging/hv => scsi}/storvsc_drv.c | 0 drivers/staging/Kconfig | 2 -- drivers/staging/Makefile | 1 - drivers/staging/hv/Kconfig | 5 ----- drivers/staging/hv/Makefile | 3 --- drivers/staging/hv/TODO | 5 ----- 8 files changed, 10 insertions(+), 16 deletions(-) rename drivers/{staging/hv => scsi}/storvsc_drv.c (100%) delete mode 100644 drivers/staging/hv/Kconfig delete mode 100644 drivers/staging/hv/Makefile delete mode 100644 drivers/staging/hv/TODO
Quoted 5 lines
Quoted 1 line
James, can I add your Acked-by: for this patch?
Yes ... i finally managed to pull your tree down and verify it.
Acked-by James Bottomley <[email protected]>
Thank you.
K. Y