From: Mike Christie <michaelc@cs.wisc.edu>
To: SCSI Mailing List <linux-scsi@vger.kernel.org>
Subject: [PATCH RFC 0/3] add fc transport events
Date: Thu, 27 May 2004 00:25:11 -0700 [thread overview]
Message-ID: <40B597D7.3080909@cs.wisc.edu> (raw)
The following patches begin to address the problem of allowing
a userspace program to online or offline a scsi device. The major
change is the layout of the transport class so that devices are
presented under an adapter with the fc_transport class node the root
for adapters. There's still no adapter level attributes so the host's
class_device is really just being used as way to nicely structure things,
and the class_device in the scsi_device has been converted to a kobject.
Here is a partial tree:
elm3a38:/sys/class/fc_transport # tree
.
|-- host4
| |-- 4:0:0:0
| | |-- node_name
| | |-- port_id
| | `-- port_name
| |-- 4:0:1:0
| | |-- node_name
| | |-- port_id
| | `-- port_name
| `-- device -> ../../../devices/pci0000:02/0000:02:03.0/host4
`-- host5
|-- 5:0:0:0
| |-- node_name
| |-- port_id
| `-- port_name
|-- 5:0:1:0
.
.
.
01-add-host-transport-classdev.patch - adds the transport class_device to
the scsi_host structure.
02-sdev-transport-kobj.patch - converts the transport class_device in the
scsi_device to a kobject.
03-convert-fc-class.patch - converts the fc class from a class_device
scsi_device to a kobject and adds a basic link_up/down event fucntion.
(I did not convert the spi class yet, becuase I wasn't sure how people
would feel about such a change)
Mike Christie
next reply other threads:[~2004-05-27 7:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-27 7:25 Mike Christie [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-05-27 20:14 [PATCH RFC 0/3] add fc transport events Martin Peschke3
2004-05-27 22:12 ` Mike Christie
2004-05-28 7:46 Martin Peschke3
2004-05-28 8:18 ` Mike Christie
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=40B597D7.3080909@cs.wisc.edu \
--to=michaelc@cs.wisc.edu \
--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