Re: [PATCH libata-dev#upstream-fixes] libata-acpi: improve dock event handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed 12. Mar - 14:24:43, Tejun Heo wrote:
> Improve ACPI hotplug handling such that dock event is handled properly.
> 
> * Register handlers for dock events.
> 
> * Directly detach device on EJECT_REQUEST instead of signaling hotplug
>   event.  This prevents libata from accessing severed controller
>   and/or device.
> 
> * While at it, use named constants for ACPI events and move uevent
>   signaling inside host lock.
> 
> Original patch and testing by Holger Macht.

Grrrr, unfortunately, the patch still seems to be not perfect:
  http://marc.info/?l=linux-acpi&m=120543202908662&w=2

Are you sure access to the device (/dev/srX) is locked before
ata_acpi_dev_notify() returns?

Regards,
	Holger
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux