linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: James Smart <James.Smart@Emulex.Com>
To: Jeff Garzik <jeff@garzik.org>
Cc: Kristen Carlson Accardi <kristen.c.accardi@intel.com>,
	linux-kernel@vger.kernel.org, akpm@linux-foundation.org,
	linux-ide@vger.kernel.org,
	linux-scsi <linux-scsi@vger.kernel.org>
Subject: Re: [patch 3/3] libata: handle AN interrupt
Date: Thu, 29 Mar 2007 09:04:13 -0400	[thread overview]
Message-ID: <460BB94D.8060802@emulex.com> (raw)
In-Reply-To: <460BB475.8000005@garzik.org>



Jeff Garzik wrote:
> Fair enough, though I definitely lean towards some use of sysfs / device 
> model for AN-style events specifically.  The media change events are 
> generated by the device, not the transport, and we should definitely 
> have an object in the device model that represents the device (if we 
> don't already).
> 
> I could see transport-based events being delivered to a different 
> endpoint, because transport events differ from device events.
> 
>     Jeff

Sure... although what object the event relates to is really a component of
either the socket (1 per object) or an object identifier within the event
message (1 socket with message headers). The transport, as we use it, really
isn't the object and isn't the one generating the events, it's just a well-known
listening point and serves as a nice library to insulate drivers from the
implementation.

Granted, what's being proposed now is fairly simple, so sysfs works fine.
But if you grow at all, you'll be confronted with the multiple-readers
and payload issues that we had.

-- james

  reply	other threads:[~2007-03-29 13:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-29 12:38 [patch 3/3] libata: handle AN interrupt James Smart
2007-03-29 12:43 ` Jeff Garzik
2007-03-29 13:04   ` James Smart [this message]
     [not found] <20070328230108.597741522@intel.com>
2007-03-28 23:44 ` Kristen Carlson Accardi
2007-03-29  2:13   ` Tejun Heo
     [not found] <20070321004740.939006166@intel.com>
2007-03-21  0:52 ` Kristen Carlson Accardi

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=460BB94D.8060802@emulex.com \
    --to=james.smart@emulex.com \
    --cc=akpm@linux-foundation.org \
    --cc=jeff@garzik.org \
    --cc=kristen.c.accardi@intel.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).