Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752626AbeADKE6 (ORCPT + 1 other); Thu, 4 Jan 2018 05:04:58 -0500 Received: from szxga06-in.huawei.com ([45.249.212.32]:33804 "EHLO huawei.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752434AbeADKEz (ORCPT ); Thu, 4 Jan 2018 05:04:55 -0500 Subject: Re: [PATCH v5 3/7] scsi: libsas: make the event threshold configurable To: Hannes Reinecke , Jason Yan , , References: <20171208094210.24887-1-yanaijie@huawei.com> <20171208094210.24887-4-yanaijie@huawei.com> <3fa0a96f-26d5-dbd7-8b8d-67e615ddf2b6@suse.de> CC: , , , , , , , , , , , Ewan Milne , Tomas Henzl From: John Garry Message-ID: Date: Thu, 4 Jan 2018 10:04:25 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <3fa0a96f-26d5-dbd7-8b8d-67e615ddf2b6@suse.de> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.202.227.238] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On 15/12/2017 12:19, Hannes Reinecke wrote: > On 12/08/2017 10:42 AM, Jason Yan wrote: >> Add a sysfs attr that LLDD can configure it for every host. We made >> a example in hisi_sas. Other LLDDs using libsas can implement it if >> they want. >> >> Suggested-by: Hannes Reinecke >> Signed-off-by: Jason Yan >> CC: John Garry >> CC: Johannes Thumshirn >> CC: Ewan Milne >> CC: Christoph Hellwig >> CC: Tomas Henzl >> CC: Dan Williams >> --- >> drivers/scsi/hisi_sas/hisi_sas_main.c | 6 ++++++ >> drivers/scsi/libsas/sas_init.c | 31 +++++++++++++++++++++++++++++++ >> include/scsi/libsas.h | 1 + >> 3 files changed, 38 insertions(+) >> > Ah, here is it now. > So ignore that part of my previous comment. > Hi Hannes, Thanks for checking this. Can you please re-review "[PATCH v5 2/7] scsi: libsas: shut down the PHY if events reached the threshold" to see if you are happy with it? We have no tag currently. Very much appreciated, John > Reviewed-by: Hannes Reinecke > > Cheers, > > Hannes >