Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S942883AbcJSSF6 (ORCPT ); Wed, 19 Oct 2016 14:05:58 -0400 Received: from mail-yw0-f195.google.com ([209.85.161.195]:34918 "EHLO mail-yw0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932327AbcJSSFz (ORCPT ); Wed, 19 Oct 2016 14:05:55 -0400 Date: Wed, 19 Oct 2016 14:05:53 -0400 From: Tejun Heo To: Adam Manzanares Cc: axboe@kernel.dk, dan.j.williams@intel.com, hare@suse.de, martin.petersen@oracle.com, mchristi@redhat.com, toshi.kani@hpe.com, ming.lei@canonical.com, sathya.prakash@broadcom.com, chaitra.basappa@broadcom.com, suganath-prabu.subramani@broadcom.com, linux-block@vger.kernel.org, linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org, MPT-FusionLinux.pdl@broadcom.com, linux-scsi@vger.kernel.org Subject: Re: [PATCH v6 3/3] ata: ATA Command Priority Disabled By Default Message-ID: <20161019180553.GI18532@htj.duckdns.org> References: <1476728850-2309-1-git-send-email-adam.manzanares@hgst.com> <1476728850-2309-4-git-send-email-adam.manzanares@hgst.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1476728850-2309-4-git-send-email-adam.manzanares@hgst.com> User-Agent: Mutt/1.7.0 (2016-08-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1017 Lines: 31 On Mon, Oct 17, 2016 at 11:27:30AM -0700, Adam Manzanares wrote: > Add a sysfs entry to turn on priority information being passed > to a ATA device. By default this feature is turned off. > > This patch depends on ata: Enabling ATA Command Priorities > > Signed-off-by: Adam Manzanares > --- > drivers/ata/libahci.c | 1 + > drivers/ata/libata-core.c | 2 +- > drivers/ata/libata-scsi.c | 68 +++++++++++++++++++++++++++++++++++++++++++++++ > include/linux/libata.h | 7 +++++ > 4 files changed, 77 insertions(+), 1 deletion(-) > > diff --git a/drivers/ata/libahci.c b/drivers/ata/libahci.c > index 0d028ea..0e17285 100644 > --- a/drivers/ata/libahci.c > +++ b/drivers/ata/libahci.c > @@ -140,6 +140,7 @@ EXPORT_SYMBOL_GPL(ahci_shost_attrs); > struct device_attribute *ahci_sdev_attrs[] = { > &dev_attr_sw_activity, > &dev_attr_unload_heads, > + &dev_attr_ncq_prio_on, I'll rename it to ncq_prio_enable while applying but otherwise looks good to me. Thanks. -- tejun