From patchwork Wed May 9 00:28:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Damien Le Moal X-Patchwork-Id: 910575 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-ide-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=wdc.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=wdc.com header.i=@wdc.com header.b="okOchllL"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 40gcdq6w9zz9s3D for ; Wed, 9 May 2018 10:28:15 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932593AbeEIA2O (ORCPT ); Tue, 8 May 2018 20:28:14 -0400 Received: from esa1.hgst.iphmx.com ([68.232.141.245]:25942 "EHLO esa1.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932475AbeEIA2O (ORCPT ); Tue, 8 May 2018 20:28:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1525825694; x=1557361694; h=from:to:cc:subject:date:message-id; bh=Z6V6uNv6W6W0/xI69rDrCNV+nrEKLBZuHqXnoVa4q1Q=; b=okOchllLuNt16PGj2TwmFAbVfisuw3DcjRWJJQkkQI9QpAo+fk38v8fS 5wv+wD8CzIOCBH4eBAwaStgz16/+bgwdtJuH57bD1thFKEZAxsbFDIDdA VBJ46YBGCayVtwe3SSBdobX8gYIsPbskG7zvf8Zyz1/2l+im9qHOoTgSP p4a3B/Dwa0eEP7qcpozBXzICiHamgKcPhbOashMkYf5T4JbJgHs8Dg2Gq ZxeK+D7hAaI6SlOzwPI7a8Z76GpVujU3fDZ1D8yUlQ9WzKlC9HxkEGg7t jM+7Jj9AQFej02AIAi5csIC3bpfypxe5ACgQNBFan3OrrPq2WmObB1d1y w==; X-IronPort-AV: E=Sophos;i="5.49,379,1520870400"; d="scan'208";a="180758033" Received: from uls-op-cesaip01.wdc.com (HELO uls-op-cesaep01.wdc.com) ([199.255.45.14]) by ob1.hgst.iphmx.com with ESMTP; 09 May 2018 08:28:14 +0800 Received: from uls-op-cesaip01.wdc.com ([10.248.3.36]) by uls-op-cesaep01.wdc.com with ESMTP; 08 May 2018 17:19:53 -0700 Received: from washi.fujisawa.hgst.com ([10.149.53.254]) by uls-op-cesaip01.wdc.com with ESMTP; 08 May 2018 17:28:13 -0700 From: Damien Le Moal To: linux-ide@vger.kernel.org, Tejun Heo Cc: "Martin K . Petersen" , Hannes Reinecke , Bart Van Assche Subject: [PATCH 0/5] libata fixes and improvements Date: Wed, 9 May 2018 09:28:07 +0900 Message-Id: <20180509002812.13151-1-damien.lemoal@wdc.com> X-Mailer: git-send-email 2.14.3 Sender: linux-ide-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ide@vger.kernel.org [resending with numbered patches in subject] This series introduces fixes and imrpovements of libata. The first patch is a comment typo fix and the second improves the handling of ATA error status bits in ata_err_string(). The third and fourth patches reduce libata verbosity by honoring requests quiet flags in error handling as well as reducing the output from ata_dev_set_mode(). Finally, the last patch improves failed request retry handling by relying on the scsi layer decisions for failed requests with valid sense data. Damien Le Moal (5): libata: Fix comment typo in ata_eh_analyze_tf() libata: Fix ata_err_string() libata: Make ata_dev_set_mode() less verbose libata: Honor RQF_QUIET flag libata: Fix command retry decision drivers/ata/libata-core.c | 8 +++++--- drivers/ata/libata-eh.c | 46 +++++++++++++++++++++++++++++++++++++++------- drivers/ata/libata-scsi.c | 3 +++ 3 files changed, 47 insertions(+), 10 deletions(-)