linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [git patch] atang tree: make SATA Asynchronous Notification work
@ 2010-02-28 14:31 Bartlomiej Zolnierkiewicz
  2010-02-28 17:52 ` Robert Hancock
  0 siblings, 1 reply; 3+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2010-02-28 14:31 UTC (permalink / raw)
  To: linux-ide; +Cc: linux-kernel, Robert Hancock

DISCLAIMER: the fact of getting patches merged into atang tree means
that from now on they will be getting updates for changes happening
in atang tree and it should not be treated as an indication regarding
decisions taken by 'upstream' kernel trees


Fix Asynchronous Notification (AN) support for SATA ATAPI devices
(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 needlessly consuming energy and CPU resources).

Originally AN support was added to kernel in 2007, unfortunately some
relevant bits were lost in the merge process and the feature remains
non-functional in modern Linux distributions.  Lets fix it by adding
kernel patch by Robert Hancock (from Oct 2009) addressing the issue.

User-space part (HAL daemon in particular) still won't automatically
disable media polling but it can be done manually by executing:

  hal-disable-polling --device /dev/sr0

command as root.

[ To check if your ATAPI device supports AN:
  # hdparm -I /dev/sr0|grep "Asynchronous notification"

  To check if it is properly recognized by kernel & user-space:
  $ lshal|grep support_async_notification ]


PS1 if you have PLDS DS-8A3S drive in your laptop (like me) you may
need to update the drive's firmware to the one containing AN support
(HA28 for Asus' OEM drives and HD52 for Dell's ones)

PS2 I will be rebasing atang on top of 2.6.33 in the near future


The following changes since commit cad2f21db052f21beafd44d3396a565d9a485073:
  Bartlomiej Zolnierkiewicz (1):
        block: fix SSD performance regression

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bart/misc.git atang-v4.9

Robert Hancock (1):
      scsi: properly export media change notification capability in block device flags

 drivers/scsi/sd.c |    2 ++
 drivers/scsi/sr.c |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)

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

end of thread, other threads:[~2010-02-28 18:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-28 14:31 [git patch] atang tree: make SATA Asynchronous Notification work Bartlomiej Zolnierkiewicz
2010-02-28 17:52 ` Robert Hancock
2010-02-28 18:55   ` Bartlomiej Zolnierkiewicz

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