From: Dan Williams Date: Fri, 18 Nov 2011 01:59:50 +0000 (-0800) Subject: [SCSI] libsas: remove ata_port.lock management duties from lldds X-Git-Tag: v3.4-rc1~145^2~63 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=312d3e56119a4bc5c36a96818f87f650c069ddc2;p=pandora-kernel.git [SCSI] libsas: remove ata_port.lock management duties from lldds Each libsas driver (mvsas, pm8001, and isci) has invented a different method for managing the ap->lock. The lock is held by the ata ->queuecommand() path. mvsas drops it prior to acquiring any internal locks which allows it to hold its internal lock across calls to task->task_done(). This capability is important as it is the only way the driver can flush task->task_done() instances to guarantee that it no longer has any in-flight references to a domain_device at ->lldd_dev_gone() time. Signed-off-by: Dan Williams Signed-off-by: James Bottomley --- Reading git-diff-tree failed