public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Sergey Panov <sipan@sipan.org>
To: SCSI development list <linux-scsi@vger.kernel.org>
Subject: What "tarnsport attributes" are really for?
Date: Mon, 30 Aug 2004 01:00:55 -0400	[thread overview]
Message-ID: <1093842055.9886.57.camel@sipan.org> (raw)

Hello,
I searched and read all threads about "transport attributes" I could
find in linux-scsi archive, but real design goals of this API still is
not clear. Is it supposed to be:

1) way to store and expose to admin (via syfs) specifics of the
underlying transport layer (such as FC, iSCSI, SPI, ...).

2) way to store transport specific per-device (per LUN) attributes.

3) way to access transport specific per-device (per LUN) attributes
stored in the driver.

?

It looks like that current implementation is aiming to be case (2), but
in reality it is just case (3). I noticed that every time attribute is
queried via sysfs LLD is asked to update it. 

I hope the actual goal is (1). In that case we should be able to add
transport specific host attributes and may prevent unnecessary
replication of the same FC/iSCSI info for every LUN on some big storage
array. 

Before I looked at /sys/class/fc_transport, I expected to find there a
tree for every host, with some extra host info in the root dir and
subdirs for every known transport end-point. In that tree you should
also see links to entries in /sys/class/scsi_host/ and
/sys/class/scsi_device/ , and not links to PCI device dir and SD driver
dir, which are there now.


-- 
Sergey Panov <sipan@sipan.org>
Home



             reply	other threads:[~2004-08-30  5:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-30  5:00 Sergey Panov [this message]
2004-08-30 13:59 ` What "tarnsport attributes" are really for? James Bottomley
2004-08-31  4:46   ` Sergey Panov
2004-08-31 11:49     ` James Bottomley
2004-09-01  0:50       ` What "transport " Sergey Panov

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=1093842055.9886.57.camel@sipan.org \
    --to=sipan@sipan.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