public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: "Smart, James" <James.Smart@Emulex.com>
Cc: Linux SCSI Reflector <linux-scsi@vger.kernel.org>
Subject: Re: HBAAPI
Date: Fri, 16 Apr 2004 13:10:53 +0100	[thread overview]
Message-ID: <20040416131053.D5080@infradead.org> (raw)
In-Reply-To: <3356669BBE90C448AD4645C843E2BF2802C01631@xbl.ma.emulex.com>; from James.Smart@Emulex.com on Thu, Apr 08, 2004 at 09:12:13AM -0400

On Thu, Apr 08, 2004 at 09:12:13AM -0400, Smart, James wrote:
> The jist of HBAAPI is that each vendor supplies a "provider" module that
> implements the API for the specific hardware. Ours converts into a lot of
> ioctls. We see this as a great opportunity to remove the need for a
> vendor-specific provider module, and simply have a standard API, supported
> by linux FC drivers. There is already a sample application and template
> provider over on SourceForge that can be leveraged. We are offering to ante
> up a proposal for this API.

I'm not exactly happy with the HBAAPI, like about everything from SNIA
it's a pretty braindead spec.  But if you want a standard implementation
for Linux I'd suggest the different FC HBA Vendors sit together and tell
what additional kernel support they'd need for a _single_ implementation
of that library instead of the loadable module mess.

> Has there been any thoughts/efforts in doing this in the past ? Any
> recommendations for how this should be implemented ?  Any general thoughts?

Most of the HBA ABI functions that are about attribute querying should be
handle through the FC transport attributes.  The entry points ending up
sending down certain scsi commands should invoke SG_IO, for the other
someone has to come up with ideas.

> HBAAPI provides an interface for setting persistent device mappings. What
> are the current thoughts on how driver-level persistent data should be
> maintained/saved/etc ?

Do you mean persistant mappings from WWNNs to scsi target/lun numbers or
mappings of either of those to Linux device names?


  parent reply	other threads:[~2004-04-16 12:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-08 13:12 HBAAPI Smart, James
2004-04-08 13:56 ` HBAAPI James Bottomley
2004-04-08 14:25 ` HBAAPI Matthew Wilcox
2004-04-16 12:10 ` Christoph Hellwig [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-04-08 15:57 HBAAPI Andreas Herrmann

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=20040416131053.D5080@infradead.org \
    --to=hch@infradead.org \
    --cc=James.Smart@Emulex.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