linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Garzik <jeff@garzik.org>
To: James.Smart@Emulex.Com
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 08:43:33 -0400	[thread overview]
Message-ID: <460BB475.8000005@garzik.org> (raw)
In-Reply-To: <460BB32F.8030904@emulex.com>

James Smart wrote:
> For FC, we have several async events, and allow for LLDDs to send their own
> data or augment the generic transport event w/ additional LLDD-data. The
> infrastructure is implemented generically within the scsi midlayer.
> We are using Netlink w/ broadcasts to deliver the events rather than 
> kobject_uevent().
> We considered using a variant of kobject events, but the general 
> consensus was
> we didn't want to wrap transport events into the kobject infrastructure, 
> and using
> netlink natively allowed for transport data to be sent with the event. 
> Additionally,
> with the broadcast, we could support any number of tools concurrently 
> listening for
> change events. To date, this has worked very well. You may want to 
> consider this,
> especially if the types of events is expected to grow beyond the simple 
> "change"
> notification.


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



  reply	other threads:[~2007-03-29 12:43 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 [this message]
2007-03-29 13:04   ` James Smart
     [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=460BB475.8000005@garzik.org \
    --to=jeff@garzik.org \
    --cc=James.Smart@Emulex.Com \
    --cc=akpm@linux-foundation.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).