Staging: hv: storvsc: Move the storage driver out of the staging area
Subsystems (3)
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. 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.
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 re-sending this patch to move this driver out of staging.
--- drivers/scsi/Kconfig | 7 + drivers/scsi/Makefile | 3 + drivers/scsi/storvsc_drv.c | 1548 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 1558 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 +1548 -0
1,548 lines not on this page · raw message
Signature · 1 line
1.7.4.1
Quoted 13 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.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 re-sending this patch to move this driver out of staging.
Quoted 7 lines
Signed-off-by K. Y. Srinivasan <[email protected]>--- drivers/scsi/Kconfig | 7 + drivers/scsi/Makefile | 3 + drivers/scsi/storvsc_drv.c | 1548 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 1558 insertions(+), 0 deletions(-) create mode 100644 drivers/scsi/storvsc_drv.c
James, any objection to me applying this to the staging-next tree, and at the same time, deleting this version of the driver from the drivers/staging/hv/ directory?
thanks,
greg k-h
James Bottomley
maintainerQuoted 22 lines · Greg KH
Quoted 13 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.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 re-sending this patch to move this driver out of staging.
Quoted 7 lines
Signed-off-by K. Y. Srinivasan <[email protected]>--- drivers/scsi/Kconfig | 7 + drivers/scsi/Makefile | 3 + drivers/scsi/storvsc_drv.c | 1548 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 1558 insertions(+), 0 deletions(-) create mode 100644 drivers/scsi/storvsc_drv.c
Quoted 3 lines
James, any objection to me applying this to the staging-next tree, and at the same time, deleting this version of the driver from the
drivers/staging/hv/directory?
Well, yes, it has the same build failure as the previous one and that will make it non bisectable.
James
Quoted 37 lines
-----Original Message-----
From: James Bottomley [mailto:[email protected]]
Sent: Thursday, February 09, 2012 3:19 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 5 lines · Greg KH
Quoted 4 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 thestaging/hv
Quoted 9 lines
Quoted 9 lines
directory. Once the driver moves out of staging, we will cleanup the staging/hv directory.
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 re-sending this patch to move this driver out of staging.
Quoted 5 lines
Quoted 5 lines
Signed-off-by K. Y. Srinivasan <[email protected]>--- drivers/scsi/Kconfig | 7 + drivers/scsi/Makefile | 3 + drivers/scsi/storvsc_drv.c | 1548++++++++++++++++++++++++++++++++++++++++++++
Quoted 3 lines
Quoted 2 lines
3 files changed, 1558 insertions(+), 0 deletions(-) create mode 100644 drivers/scsi/storvsc_drv.c
Quoted 6 lines
Quoted 3 lines
James, any objection to me applying this to the staging-next tree, and at the same time, deleting this version of the driver from the
drivers/staging/hv/directory?Well, yes, it has the same build failure as the previous one and that will make it non bisectable.
James,
What build failure is this. I just pulled down Greg's tree earlier today and applied this patch and built it.
Regards,
K. Y
James Bottomley
maintainerQuoted 40 lines · KY Srinivasan
Quoted 40 lines
-----Original Message-----
From: James Bottomley [mailto:[email protected]]
Sent: Thursday, February 09, 2012 3:19 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 5 lines · Greg KH
Quoted 4 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 thestaging/hv
Quoted 9 lines
Quoted 9 lines
directory. Once the driver moves out of staging, we will cleanup the staging/hv directory.
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 re-sending this patch to move this driver out of staging.
Quoted 5 lines
Quoted 5 lines
Signed-off-by K. Y. Srinivasan <[email protected]>--- drivers/scsi/Kconfig | 7 + drivers/scsi/Makefile | 3 + drivers/scsi/storvsc_drv.c | 1548++++++++++++++++++++++++++++++++++++++++++++
Quoted 6 lines
Quoted 2 lines
3 files changed, 1558 insertions(+), 0 deletions(-) create mode 100644 drivers/scsi/storvsc_drv.cJames, any objection to me applying this to the staging-next tree, and at the same time, deleting this version of the driver from the
drivers/staging/hv/directory?
Quoted 7 lines
Quoted 2 lines
Well, yes, it has the same build failure as the previous one and that will make it non bisectable.
James,
What build failure is this. I just pulled down Greg's tree earlier today and applied this patch and built it.
This one
marc.info/?l=linux-driver-devel&m=132760187731205
James
Quoted 23 lines · James Bottomley
Quoted 22 lines · Greg KH
Quoted 20 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.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 re-sending this patch to move this driver out of staging.
Signed-off-by K. Y. Srinivasan <[email protected]>--- drivers/scsi/Kconfig | 7 + drivers/scsi/Makefile | 3 + drivers/scsi/storvsc_drv.c | 1548 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 1558 insertions(+), 0 deletions(-) create mode 100644 drivers/scsi/storvsc_drv.c
Quoted 6 lines
Quoted 3 lines
James, any objection to me applying this to the staging-next tree, and at the same time, deleting this version of the driver from the
drivers/staging/hv/directory?Well, yes, it has the same build failure as the previous one and that will make it non bisectable.
Ah, that would make things a bit difficult, KY, please test your patches...
Quoted 43 lines
-----Original Message-----
From: Greg KH [mailto:[email protected]]
Sent: Thursday, February 09, 2012 3:24 PM
To: James Bottomley
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 6 lines · James Bottomley
Quoted 5 lines · Greg KH
Quoted 4 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 thestaging/hv
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
directory. Once the driver moves out of staging, we will cleanup the staging/hv directory.
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,
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
I am re-sending this patch to move this driver out of staging.
Signed-off-by K. Y. Srinivasan <[email protected]>--- drivers/scsi/Kconfig | 7 + drivers/scsi/Makefile | 3 + drivers/scsi/storvsc_drv.c | 1548++++++++++++++++++++++++++++++++++++++++++++
Quoted 7 lines
Quoted 6 lines
Quoted 2 lines
3 files changed, 1558 insertions(+), 0 deletions(-) create mode 100644 drivers/scsi/storvsc_drv.cJames, any objection to me applying this to the staging-next tree, and at the same time, deleting this version of the driver from the
drivers/staging/hv/directory?
Quoted 5 lines
Quoted 2 lines
Well, yes, it has the same build failure as the previous one and that will make it non bisectable.
Ah, that would make things a bit difficult, KY, please test your patches...
Greg,
I pulled down your staging tree earlier today that had all the storvsc patches that you checked in yesterday, applied this patch and built it (successfully).
Regards,
K. Y
James Bottomley
maintainerQuoted 45 lines · KY Srinivasan
Quoted 45 lines
-----Original Message-----
From: Greg KH [mailto:[email protected]]
Sent: Thursday, February 09, 2012 3:24 PM
To: James Bottomley
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 6 lines · James Bottomley
Quoted 5 lines · Greg KH
Quoted 4 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 thestaging/hv
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
directory. Once the driver moves out of staging, we will cleanup the staging/hv directory.
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,
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
I am re-sending this patch to move this driver out of staging.
Signed-off-by K. Y. Srinivasan <[email protected]>--- drivers/scsi/Kconfig | 7 + drivers/scsi/Makefile | 3 + drivers/scsi/storvsc_drv.c | 1548++++++++++++++++++++++++++++++++++++++++++++
Quoted 9 lines
Quoted 6 lines
Quoted 2 lines
3 files changed, 1558 insertions(+), 0 deletions(-) create mode 100644 drivers/scsi/storvsc_drv.cJames, any objection to me applying this to the staging-next tree, and at the same time, deleting this version of the driver from the
drivers/staging/hv/directory?Well, yes, it has the same build failure as the previous one and that will make it non bisectable.
Quoted 7 lines
Quoted 2 lines
Ah, that would make things a bit difficult, KY, please test your patches...
Greg,
I pulled down your staging tree earlier today that had all the storvsc patches that you checked in yesterday, applied this patch and built it (successfully).
You're leaving remnants in staging.
Move the damn thing and pull the config options from staging when you put them in SCSI.
James
Quoted 67 lines
-----Original Message-----
From: James Bottomley [mailto:[email protected]]
Sent: Thursday, February 09, 2012 3:46 PM
To: KY Srinivasan
Cc: Greg KH; [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 6 lines · KY Srinivasan
Quoted 6 lines
-----Original Message-----
From: Greg KH [mailto:[email protected]]
Sent: Thursday, February 09, 2012 3:24 PM
To: James Bottomley
Cc: KY Srinivasan; [email protected];Quoted 3 lines
Quoted 3 lines
[email protected]; [email protected]; [email protected]; linux- [email protected]
Subject: Re: [PATCH 1/1] Staging: hv: storvsc: Move the storage driver out ofthe
Quoted 9 lines
Quoted 9 lines
staging area
Quoted 6 lines · James Bottomley
Quoted 5 lines · Greg KH
Quoted 4 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 theQuoted 5 lines
Quoted 5 lines
staging/hv
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
directory. Once the driver moves out of staging, we will cleanup the staging/hv directory.
James was willing to apply this patch during the 3.3-rc phase and a
decision
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
was taken to defer this to 3.4 since Greg had queued up a bunch of
storvsc
Quoted 26 lines
Quoted 18 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
patches for 3.4. Now that Greg has applied all of the pending storvsc
patches,
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
I am re-sending this patch to move this driver out of staging.
Signed-off-by K. Y. Srinivasan <[email protected]>--- drivers/scsi/Kconfig | 7 + drivers/scsi/Makefile | 3 + drivers/scsi/storvsc_drv.c | 1548++++++++++++++++++++++++++++++++++++++++++++
Quoted 7 lines
Quoted 6 lines
Quoted 2 lines
3 files changed, 1558 insertions(+), 0 deletions(-) create mode 100644 drivers/scsi/storvsc_drv.cJames, any objection to me applying this to the staging-next tree, and at the same time, deleting this version of the driver from the
drivers/staging/hv/directory?Quoted 5 lines
Quoted 2 lines
Well, yes, it has the same build failure as the previous one and that will make it non bisectable.
Ah, that would make things a bit difficult, KY, please test your patches...
Greg,
Quoted 8 lines
Quoted 1 line
I pulled down your staging tree earlier today that had all the storvsc patches
that you
Quoted 1 line
checked in yesterday, applied this patch and built it (successfully).
You're leaving remnants in staging.
Move the damn thing and pull the config options from staging when you put them in SCSI.
Greg had recommended that the patch moving the driver should not delete the contents in the staging directory and that he (Greg) would clean up the staging directory. Greg, let me know if you want me to send you a patch that includes getting rid of the stuff from the staging area.
Regards,
K. Y
Quoted 67 lines
-----Original Message-----
From: James Bottomley [mailto:[email protected]]
Sent: Thursday, February 09, 2012 3:46 PM
To: KY Srinivasan
Cc: Greg KH; [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 6 lines · KY Srinivasan
Quoted 6 lines
-----Original Message-----
From: Greg KH [mailto:[email protected]]
Sent: Thursday, February 09, 2012 3:24 PM
To: James Bottomley
Cc: KY Srinivasan; [email protected];Quoted 3 lines
Quoted 3 lines
[email protected]; [email protected]; [email protected]; linux- [email protected]
Subject: Re: [PATCH 1/1] Staging: hv: storvsc: Move the storage driver out ofthe
Quoted 9 lines
Quoted 9 lines
staging area
Quoted 6 lines · James Bottomley
Quoted 5 lines · Greg KH
Quoted 4 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 theQuoted 5 lines
Quoted 5 lines
staging/hv
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
directory. Once the driver moves out of staging, we will cleanup the staging/hv directory.
James was willing to apply this patch during the 3.3-rc phase and a
decision
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
was taken to defer this to 3.4 since Greg had queued up a bunch of
storvsc
Quoted 26 lines
Quoted 18 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
patches for 3.4. Now that Greg has applied all of the pending storvsc
patches,
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
I am re-sending this patch to move this driver out of staging.
Signed-off-by K. Y. Srinivasan <[email protected]>--- drivers/scsi/Kconfig | 7 + drivers/scsi/Makefile | 3 + drivers/scsi/storvsc_drv.c | 1548++++++++++++++++++++++++++++++++++++++++++++
Quoted 7 lines
Quoted 6 lines
Quoted 2 lines
3 files changed, 1558 insertions(+), 0 deletions(-) create mode 100644 drivers/scsi/storvsc_drv.cJames, any objection to me applying this to the staging-next tree, and at the same time, deleting this version of the driver from the
drivers/staging/hv/directory?Quoted 5 lines
Quoted 2 lines
Well, yes, it has the same build failure as the previous one and that will make it non bisectable.
Ah, that would make things a bit difficult, KY, please test your patches...
Greg,
Quoted 8 lines
Quoted 1 line
I pulled down your staging tree earlier today that had all the storvsc patches
that you
Quoted 1 line
checked in yesterday, applied this patch and built it (successfully).
You're leaving remnants in staging.
Move the damn thing and pull the config options from staging when you put them in SCSI.
I have now also sent out a patch that does what you are suggesting here.
Regards,
K. Y
Quoted 67 lines
-----Original Message-----
From: James Bottomley [mailto:[email protected]]
Sent: Thursday, February 09, 2012 3:46 PM
To: KY Srinivasan
Cc: Greg KH; [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 6 lines · KY Srinivasan
Quoted 6 lines
-----Original Message-----
From: Greg KH [mailto:[email protected]]
Sent: Thursday, February 09, 2012 3:24 PM
To: James Bottomley
Cc: KY Srinivasan; [email protected];Quoted 3 lines
Quoted 3 lines
[email protected]; [email protected]; [email protected]; linux- [email protected]
Subject: Re: [PATCH 1/1] Staging: hv: storvsc: Move the storage driver out ofthe
Quoted 9 lines
Quoted 9 lines
staging area
Quoted 6 lines · James Bottomley
Quoted 5 lines · Greg KH
Quoted 4 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 theQuoted 5 lines
Quoted 5 lines
staging/hv
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
directory. Once the driver moves out of staging, we will cleanup the staging/hv directory.
James was willing to apply this patch during the 3.3-rc phase and a
decision
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
was taken to defer this to 3.4 since Greg had queued up a bunch of
storvsc
Quoted 26 lines
Quoted 18 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
patches for 3.4. Now that Greg has applied all of the pending storvsc
patches,
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
I am re-sending this patch to move this driver out of staging.
Signed-off-by K. Y. Srinivasan <[email protected]>--- drivers/scsi/Kconfig | 7 + drivers/scsi/Makefile | 3 + drivers/scsi/storvsc_drv.c | 1548++++++++++++++++++++++++++++++++++++++++++++
Quoted 7 lines
Quoted 6 lines
Quoted 2 lines
3 files changed, 1558 insertions(+), 0 deletions(-) create mode 100644 drivers/scsi/storvsc_drv.cJames, any objection to me applying this to the staging-next tree, and at the same time, deleting this version of the driver from the
drivers/staging/hv/directory?Quoted 5 lines
Quoted 2 lines
Well, yes, it has the same build failure as the previous one and that will make it non bisectable.
Ah, that would make things a bit difficult, KY, please test your patches...
Greg,
Quoted 8 lines
Quoted 1 line
I pulled down your staging tree earlier today that had all the storvsc patches
that you
Quoted 1 line
checked in yesterday, applied this patch and built it (successfully).
You're leaving remnants in staging.
Move the damn thing and pull the config options from staging when you put them in SCSI.
James,
I have sent out a revised patch that does exactly what you are suggesting here. If this is what you were looking for please ACK it.
Regards,
K. Y