public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* What "tarnsport attributes" are really for?
@ 2004-08-30  5:00 Sergey Panov
  2004-08-30 13:59 ` James Bottomley
  0 siblings, 1 reply; 5+ messages in thread
From: Sergey Panov @ 2004-08-30  5:00 UTC (permalink / raw)
  To: SCSI development list

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-09-01  0:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-30  5:00 What "tarnsport attributes" are really for? Sergey Panov
2004-08-30 13:59 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox