Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1356534
| From | "K. Y. Srinivasan" <kys@microsoft.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 1/1] scsi: storvsc: Support manual scan of FC hosts on Hyper-V |
| Date | 2016-03-12 21:20 +0100 |
| Message-ID | <rbYb0-393-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
The default user scan function associated with FC (fc_user_scan) is not suitable for FC hosts on Hyper-V since we don't have an rport associated with FC host on Hyper-V . Set it to NULL so we can support manual scan of FC targets on Hyper-V. Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Tested-by: Long Li <longli@microsoft.com> Reviewed-by: Long Li <longli@microsoft.com> --- drivers/scsi/storvsc_drv.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c index 132b168..8aec590 100644 --- a/drivers/scsi/storvsc_drv.c +++ b/drivers/scsi/storvsc_drv.c @@ -1776,6 +1776,12 @@ static int __init storvsc_drv_init(void) * Install Hyper-V specific timeout handler. */ fc_transport_template->eh_timed_out = storvsc_eh_timed_out; + /* + * The default user scan function associated with FC (fc_user_scan) + * is not suitable for FC hosts on Hyper-V. Set it to NULL so we can + * support manual scan of FC targets on Hyper-V. + */ + fc_transport_template->user_scan = NULL; #endif ret = vmbus_driver_register(&storvsc_drv); -- 1.7.4.1
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 1/1] scsi: storvsc: Support manual scan of FC hosts on Hyper-V "K. Y. Srinivasan" <kys@microsoft.com> - 2016-03-12 21:20 +0100
Re: [PATCH 1/1] scsi: storvsc: Support manual scan of FC hosts on Hyper-V Christoph Hellwig <hch@infradead.org> - 2016-03-15 14:50 +0100
RE: [PATCH 1/1] scsi: storvsc: Support manual scan of FC hosts on Hyper-V KY Srinivasan <kys@microsoft.com> - 2016-03-15 15:30 +0100
Re: [PATCH 1/1] scsi: storvsc: Support manual scan of FC hosts on Hyper-V "Martin K. Petersen" <martin.petersen@oracle.com> - 2016-03-15 22:30 +0100
RE: [PATCH 1/1] scsi: storvsc: Support manual scan of FC hosts on Hyper-V KY Srinivasan <kys@microsoft.com> - 2016-03-16 00:10 +0100
Re: [PATCH 1/1] scsi: storvsc: Support manual scan of FC hosts on Hyper-V "Martin K. Petersen" <martin.petersen@oracle.com> - 2016-03-16 23:40 +0100
Re: [PATCH 1/1] scsi: storvsc: Support manual scan of FC hosts on Hyper-V James Bottomley <James.Bottomley@HansenPartnership.com> - 2016-03-17 00:10 +0100
RE: [PATCH 1/1] scsi: storvsc: Support manual scan of FC hosts on Hyper-V KY Srinivasan <kys@microsoft.com> - 2016-03-17 00:40 +0100
Re: [PATCH 1/1] scsi: storvsc: Support manual scan of FC hosts on Hyper-V James Bottomley <James.Bottomley@HansenPartnership.com> - 2016-03-17 00:50 +0100
RE: [PATCH 1/1] scsi: storvsc: Support manual scan of FC hosts on Hyper-V KY Srinivasan <kys@microsoft.com> - 2016-03-17 01:10 +0100
csiph-web