From: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
To: linux-kernel@vger.kernel.org
Cc: akpm@linux-foundation.org, linux-ide@vger.kernel.org, jgarzik@pobox.com
Subject: [patch 0/3] Asynchronous Notification for SATA ATAPI devices
Date: Wed, 28 Mar 2007 16:44:28 -0700 [thread overview]
Message-ID: <20070328164428.716b4eae.kristen.c.accardi@intel.com> (raw)
This patch series implements Asynchronous Notification (AN) for SATA ATAPI
devices as defined in SATA 2.5 and AHCI 1.1. Drives which support this
feature will send a notification when new media is inserted into the
drive, preventing the need for user space to poll for new media. This
support is exposed to user space via a file in sysfs (/sys/block/sr*)
called "media_change_events". If the drive supports AN, this file will
read 1, otherwise 0. User space can disable polling for new media if this
file reads 1. When new media is inserted into the ATAPI drive, the ahci
driver will send a KOBJ_CHANGE event.
I would really like feedback on the user interface - both the location
of the sysfs file which indicates AN support, as well as the type of
uevent etc. I have not yet tested AN on eject (I assume it doesn't require
anything special) as my test drive which supports AN is a bit "quirky" in
this respect. Please take a look and let me know what you think.
Thanks,
Kristen
--
reply other threads:[~2007-03-28 23:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20070328164428.716b4eae.kristen.c.accardi@intel.com \
--to=kristen.c.accardi@intel.com \
--cc=akpm@linux-foundation.org \
--cc=jgarzik@pobox.com \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®