From: "K. Y. Srinivasan" <kys@microsoft.com>
To: linux-scsi@vger.kernel.org,
james.bottomley@hansenpartnership.com, hch@infradead.org,
kys@microsoft.com
Subject: scsi scan
Date: Thu, 3 Nov 2011 13:29:02 -0700 [thread overview]
Message-ID: <1320352142-30592-1-git-send-email-kys@microsoft.com> (raw)
James,
On the Windows host they allow hot add/remove of block devices attached to the scsi controller(s) assigned to the guest.
So, when a hot add/remove event occurs, the host sends a message to the guest that something has changed on the hba and
the guest is responsible for figuring out what has changed: a) Setup state to manage new devices that may have been added
and b) get rid of devices that may have been removed. As I look at implementing this functionality for Linux guests,
I would need to be able to do a scan on the hba under question and deal only with whatever has changed.
Is this something that the scsi core supports or would I need to roll out a version of scan that would ignore
devices already scanned (except for the remove case) and properly add new devices that may be found.
Any guidance here would be greatly appreciated.
Regards,
K. Y
next reply other threads:[~2011-11-03 20:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-03 20:29 K. Y. Srinivasan [this message]
2011-11-03 22:52 ` scsi scan KY Srinivasan
2011-11-03 23:46 ` KY Srinivasan
2011-11-04 0:10 ` KY Srinivasan
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=1320352142-30592-1-git-send-email-kys@microsoft.com \
--to=kys@microsoft.com \
--cc=hch@infradead.org \
--cc=james.bottomley@hansenpartnership.com \
--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