This patch introduces an improvement to reduce error handle time and a tidy-up, including: - postreset() is deleted from sas_sata_ops. - Do not perform hard reset and delayed retry on a removed SATA disk. This can effectively reduce the error handle duration of hot unplug a SATA disk with traffic(reduce about 30s depending on the delay setting of libata). Both John garry and Jason Yan participated in the review of the solution and provided good suggestions during the development. Change since v1: - Removed an unnecessary tag from subject. Luo Jiaxing (2): scsi: libsas: delete postreset at sas_sata_ops scsi: libsas: check link status at ATA prereset() ops drivers/scsi/libsas/sas_ata.c | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) -- 2.7.4