linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch 0/7] Asynchronous Notification for ATAPI devices (resend)
@ 2007-05-09 23:37 Kristen Carlson Accardi
  2007-05-25  3:14 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Kristen Carlson Accardi @ 2007-05-09 23:37 UTC (permalink / raw)
  To: jeff; +Cc: linux-ide, linux-scsi, linux-kernel, htejun

Hi Jeff,
Here are the AN patches again, they have not changed with the exception
of patch #1, which does set the host flag in board_ahci and board_ahci_pi
now (thanks Tejun).

This patch series implements Asynchronous Notification (AN) for SATA
ATAPI devices as defined in SATA 2.5 and AHCI 1.1 and higher.  Drives
which support this feature will send a notification when new media is
inserted and removed, preventing the need for user space to poll for
new media.  This support is exposed to user space via a flag that will
be set in /sys/block/sr*/capability_flags.  If the flag is set, user
space can disable polling for the new media, and the genhd driver will
send a KOBJ_CHANGE event with the envp set to MEDIA_CHANGE_EVENT=1.

Note that this patch only implements support for directly attached
drives - AN with drives attached to a port multiplier requires 
additional changes.

Thanks!
Kristen

-- 

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

* Re: [patch 0/7] Asynchronous Notification for ATAPI devices (resend)
  2007-05-09 23:37 [patch 0/7] Asynchronous Notification for ATAPI devices (resend) Kristen Carlson Accardi
@ 2007-05-25  3:14 ` Jeff Garzik
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2007-05-25  3:14 UTC (permalink / raw)
  To: Kristen Carlson Accardi
  Cc: linux-ide, linux-scsi, linux-kernel, htejun, Andrew Morton

Kristen Carlson Accardi wrote:
> Hi Jeff,
> Here are the AN patches again, they have not changed with the exception
> of patch #1, which does set the host flag in board_ahci and board_ahci_pi
> now (thanks Tejun).
> 
> This patch series implements Asynchronous Notification (AN) for SATA
> ATAPI devices as defined in SATA 2.5 and AHCI 1.1 and higher.  Drives
> which support this feature will send a notification when new media is
> inserted and removed, preventing the need for user space to poll for
> new media.  This support is exposed to user space via a flag that will
> be set in /sys/block/sr*/capability_flags.  If the flag is set, user
> space can disable polling for the new media, and the genhd driver will
> send a KOBJ_CHANGE event with the envp set to MEDIA_CHANGE_EVENT=1.
> 
> Note that this patch only implements support for directly attached
> drives - AN with drives attached to a port multiplier requires 
> additional changes.

Patches look OK to me...  it will take some coordination for the 
non-libata bits.  I think Andrew mentioned some of this.  And if the 
SCSI bits get stuck in the SCSI maintainer's bit bucket, let me know.

	Jeff




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

end of thread, other threads:[~2007-05-25  3:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-09 23:37 [patch 0/7] Asynchronous Notification for ATAPI devices (resend) Kristen Carlson Accardi
2007-05-25  3:14 ` Jeff Garzik

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).