Staging: hv: storvsc: Move the storage driver out of the staging area
Subsystems (3)
PATCH RESEND 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. As per Greg's recommendation, this patch makes no changes to the staging/hv directory. Once the driver moves out of staging, we will cleanup the staging/hv directory.
This patch includes all the patches that I have sent against the staging/hv tree to address the comments I have gotten to date on this storage driver. Greg has already applied all these patches to the staging tree.
--- drivers/scsi/Kconfig | 7 + drivers/scsi/Makefile | 3 + drivers/scsi/storvsc_drv.c | 1586 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 1596 insertions(+), 0 deletions(-) create mode 100644 drivers/scsi/storvsc_drv.c
drivers/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 new file +1586 -0
1,586 lines not on this page · raw message
Signature · 1 line
1.7.4.1
Quoted 11 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. As per Greg's recommendation, this patch makes no changes to the staging/hv directory. Once the driver moves out of staging, we will cleanup the staging/hv directory.This patch includes all the patches that I have sent against the staging/hv tree to address the comments I have gotten to date on this storage driver. Greg has already applied all these patches to the staging tree.
Quoted 7 lines
Signed-off-by K. Y. Srinivasan <[email protected]>---
drivers/scsi/Kconfig | 7 +
drivers/scsi/Makefile | 3 +
drivers/scsi/storvsc_drv.c | 1586 ++++++++++++++++++++++++++++++++++++++++++++3 files changed, 1596 insertions(+), 0 deletions(-)create mode 100644
drivers/scsi/storvsc_drv.c
Shouldn't this diffstat be something like the following?
drivers/scsi/Kconfig | 7 +
drivers/scsi/Makefile | 3 +
drivers/{staging/hv => scsi}/storvsc_drv.c | 310 +++++++++++++++++++---------
3 files changed, 218 insertions(+), 102 deletions(-)
rename drivers/{staging/hv => scsi}/storvsc_drv.c (87%)Quoted 35 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Dan Williams
Sent: Tuesday, December 20, 2011 6:06 PM
To: KY Srinivasan
Cc: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; linux- [email protected]
Subject: Re: [PATCH 1/1][RESEND] Staging: hv: storvsc: Move the storage driver out of the staging areaQuoted 11 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. As per Greg's recommendation, this patch makes no changes to the staging/hv directory. Once the driver moves out of staging, we will cleanup the staging/hv directory.This patch includes all the patches that I have sent against the staging/hv tree to address the comments I have gotten to date on this storage driver. Greg has already applied all these patches to the staging tree.
Quoted 5 lines
Signed-off-by K. Y. Srinivasan <[email protected]>---
drivers/scsi/Kconfig | 7 +
drivers/scsi/Makefile | 3 +
drivers/scsi/storvsc_drv.c | 1586++++++++++++++++++++++++++++++++++++++++++++
Quoted 2 lines
3 files changed, 1596 insertions(+), 0 deletions(-)create mode 100644
drivers/scsi/storvsc_drv.c
Quoted 7 lines
Shouldn't this diffstat be something like the following?
drivers/scsi/Kconfig | 7 + drivers/scsi/Makefile | 3 + drivers/{staging/hv => scsi}/storvsc_drv.c | 310 +++++++++++++++++++--------- 3 files changed, 218 insertions(+), 102 deletions(-) rename drivers/{staging/hv => scsi}/storvsc_drv.c (87%)
As per Greg's suggestion, this patch does not remove the driver from the staging tree. Once the driver lands in the correct directory, we will remove the driver from the staging directory.
Regards,
K. Y
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 43 lines · KY Srinivasan
Quoted 35 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Dan Williams
Sent: Tuesday, December 20, 2011 6:06 PM
To: KY Srinivasan
Cc: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; linux- [email protected]
Subject: Re: [PATCH 1/1][RESEND] Staging: hv: storvsc: Move the storage driver out of the staging areaQuoted 11 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. As per Greg's recommendation, this patch makes no changes to the staging/hv directory. Once the driver moves out of staging, we will cleanup the staging/hv directory.This patch includes all the patches that I have sent against the staging/hv tree to address the comments I have gotten to date on this storage driver. Greg has already applied all these patches to the staging tree.
Quoted 5 lines
Signed-off-by K. Y. Srinivasan <[email protected]>---
drivers/scsi/Kconfig | 7 +
drivers/scsi/Makefile | 3 +
drivers/scsi/storvsc_drv.c | 1586++++++++++++++++++++++++++++++++++++++++++++
Quoted 2 lines
3 files changed, 1596 insertions(+), 0 deletions(-)create mode 100644
drivers/scsi/storvsc_drv.cQuoted 7 lines
Shouldn't this diffstat be something like the following?
drivers/scsi/Kconfig | 7 +
drivers/scsi/Makefile| 3 +drivers/{staging/hv=>scsi}/storvsc_drv.c| 310 +++++++++++++++++++---------3 files changed, 218 insertions(+), 102 deletions(-)rename
drivers/{staging/hv=>scsi}/storvsc_drv.c(87%)
Quoted 3 lines
As per Greg's suggestion, this patch does not remove the driver from the staging tree. Once the driver lands in the correct directory, we will remove the driver from the staging directory.
Ah, ok, so the patch can be accepted in parallel with the staging update.
I still think it wouldn't hurt to show what:
git diff --stat --summary -M
...is after the removal of the version in drivers/staging/hv/ to quickly show that git agrees that the versions are indeed identical, but no big deal.
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 69 lines
-----Original Message-----
From: Williams, Dan J [mailto:[email protected]]
Sent: Tuesday, December 20, 2011 8:33 PM
To: KY Srinivasan
Cc: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; linux- [email protected]
Subject: Re: [PATCH 1/1][RESEND] Staging: hv: storvsc: Move the storage driver out of the staging areaQuoted 4 lines · KY Srinivasan
Quoted 4 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On BehalfOf
Quoted 5 lines
Quoted 5 lines
Dan Williams
Sent: Tuesday, December 20, 2011 6:06 PM
To: KY Srinivasan
Cc: [email protected]; [email protected]; [email protected]; [email protected];Quoted 3 lines
Quoted 3 lines
[email protected]; [email protected]; linux- [email protected]
Subject: Re: [PATCH 1/1][RESEND] Staging: hv: storvsc: Move the storagedriver
Quoted 3 lines
Quoted 3 lines
out of the staging area
On Tue, Dec 20, 2011 at 10:51 AM, K. Y. Srinivasan <[email protected]>
Quoted 4 lines · wrote:
Quoted 4 lines
Quoted 4 lines
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. As per Greg's recommendation, this patch makes no changes to thestaging/hv
Quoted 13 lines
Quoted 13 lines
Quoted 7 lines
directory. Once the driver moves out of staging, we will cleanup the staging/hv directory.
This patch includes all the patches that I have sent against the staging/hv tree to address the comments I have gotten to date on this storage driver. Greg has already applied all these patches to the staging tree.
Quoted 5 lines
Signed-off-by K. Y. Srinivasan <[email protected]>---
drivers/scsi/Kconfig | 7 +
drivers/scsi/Makefile | 3 +
drivers/scsi/storvsc_drv.c | 1586++++++++++++++++++++++++++++++++++++++++++++
Quoted 8 lines
Quoted 8 lines
Quoted 2 lines
3 files changed, 1596 insertions(+), 0 deletions(-)create mode 100644
drivers/scsi/storvsc_drv.cShouldn't this diffstat be something like the following?
drivers/scsi/Kconfig | 7 +
drivers/scsi/Makefile| 3 +drivers/{staging/hv=>scsi}/storvsc_drv.c| 310 +++++++++++++++++++---------
Quoted 6 lines
Quoted 2 lines
3 files changed, 218 insertions(+), 102 deletions(-)rename
drivers/{staging/hv=>scsi}/storvsc_drv.c(87%)As per Greg's suggestion, this patch does not remove the driver from the staging tree. Once the driver lands in the correct directory, we will remove the driver from the staging directory.
Ah, ok, so the patch can be accepted in parallel with the staging update.
Quoted 7 lines
I still think it wouldn't hurt to show what:
git diff --stat --summary -M
...is after the removal of the version in
drivers/staging/hv/to quickly show that git agrees that the versions are indeed identical, but no big deal.
Once I hear from James/other scsi maintainers about their willingness to take this driver, I will send out the summary diff.
Regards,
K. Y
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html