mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Moore, Eric" <Eric.Moore@lsil.com>
To: <linux-scsi@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Cc: <James.Bottomley@SteelEye.com>, <hch@lst.de>, <gregkh@novell.com>
Subject: RE: [PATCH ] drivers/scsi/scsi.c - export reprobe
Date: Tue, 14 Mar 2006 15:02:23 -0700	[thread overview]
Message-ID: <F331B95B72AFFB4B87467BE1C8E9CF5F36DC41@NAMAIL2.ad.lsil.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 610 bytes --]

On Monday, March 13, 2006 5:53 PM, I wrote: 
> 
> Request for exporting device_reprobe - 
> This is scsi wrapper portion.
> 
> ---------------------------------------------------
> Adding support for exposing hidden raid components 
> for sg interface. The sdev->no_uld_attach flag
> will set set accordingly.
> 
> The sas module supports adding/removing raid
> volumes using online storage management application
> interface.  
> 
> This patch was provided to me by Christoph Hellwig.
> 
> Signed-off-by: Eric Moore <Eric.Moore@lsil.com>
>

repost ( hopefully not mangled).

Eric Moore 

[-- Attachment #2: scsi_device_reprobe --]
[-- Type: application/octet-stream, Size: 1136 bytes --]

Index: scsi-misc-2.6/drivers/scsi/scsi.c
===================================================================
--- scsi-misc-2.6.orig/drivers/scsi/scsi.c	2006-03-04 13:07:44.000000000 +0100
+++ scsi-misc-2.6/drivers/scsi/scsi.c	2006-03-07 21:57:21.000000000 +0100
@@ -1214,6 +1214,13 @@
 }
 EXPORT_SYMBOL(scsi_device_cancel);
 
+void scsi_device_reprobe(struct scsi_device *sdev)
+{
+	device_reprobe(&sdev->sdev_gendev);
+}
+
+EXPORT_SYMBOL_GPL(scsi_device_reprobe);
+
 MODULE_DESCRIPTION("SCSI core");
 MODULE_LICENSE("GPL");
 
Index: scsi-misc-2.6/include/scsi/scsi_device.h
===================================================================
--- scsi-misc-2.6.orig/include/scsi/scsi_device.h	2006-03-04 13:07:49.000000000 +0100
+++ scsi-misc-2.6/include/scsi/scsi_device.h	2006-03-07 21:57:45.000000000 +0100
@@ -204,6 +204,7 @@
 			   uint target, uint lun);
 extern void scsi_remove_device(struct scsi_device *);
 extern int scsi_device_cancel(struct scsi_device *, int);
+extern void scsi_device_reprobe(struct scsi_device *);
 
 extern int scsi_device_get(struct scsi_device *);
 extern void scsi_device_put(struct scsi_device *);

             reply	other threads:[~2006-03-14 22:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-14 22:02 Moore, Eric [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-03-14 16:18 Moore, Eric
2006-03-14  0:52 Moore, Eric
2006-03-14 15:35 ` Greg KH
2006-03-14 16:08   ` Christoph Hellwig
2006-03-14 16:31     ` Arjan van de Ven

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=F331B95B72AFFB4B87467BE1C8E9CF5F36DC41@NAMAIL2.ad.lsil.com \
    --to=eric.moore@lsil.com \
    --cc=James.Bottomley@SteelEye.com \
    --cc=gregkh@novell.com \
    --cc=hch@lst.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®