Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755994AbcKKI1e (ORCPT ); Fri, 11 Nov 2016 03:27:34 -0500 Received: from szxga04-in.huawei.com ([119.145.14.52]:2581 "EHLO szxga04-in.huawei.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1753405AbcKKI1c (ORCPT ); Fri, 11 Nov 2016 03:27:32 -0500 Subject: Re: [RFC][PATCH v2 0/2] Improve libsas hotplug To: , , James Bottomley References: <1474946145-29755-1-git-send-email-wangyijing@huawei.com> CC: , , , , , , From: wangyijing Message-ID: <582580D1.6040806@huawei.com> Date: Fri, 11 Nov 2016 16:26:57 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <1474946145-29755-1-git-send-email-wangyijing@huawei.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.177.23.4] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1398 Lines: 32 Hi James, sorry to bother you, these two patches try to fix several issues in libsas, Dan Williams and John Garry also found similar issue, and post some patches before. Dan Williams's solution fix the sysfs warning calltrace, but may introduce new flutter issue. In these two patches, we introduce a new workqueue to fix the flutter issue. Do you have time to look at these patches ? Your comments is important to us, It help us to know whether we are in the right direction to fix these issues. Thanks! Yijing. 在 2016/9/27 11:15, Yijing Wang 写道: > v1-v2: Fix memory allocation issue in interrupt context. > > Yijing Wang (2): > libsas: Alloc dynamic work to avoid missing sas events > libsas: Fix hotplug issue in libsas > > drivers/scsi/libsas/sas_ata.c | 34 ++--- > drivers/scsi/libsas/sas_discover.c | 245 ++++++++++++++++++++++++++---------- > drivers/scsi/libsas/sas_event.c | 61 +++++---- > drivers/scsi/libsas/sas_expander.c | 54 ++++++-- > drivers/scsi/libsas/sas_init.c | 31 ++++- > drivers/scsi/libsas/sas_internal.h | 45 ++++++- > drivers/scsi/libsas/sas_phy.c | 50 +++----- > drivers/scsi/libsas/sas_port.c | 35 ++++-- > drivers/scsi/libsas/sas_scsi_host.c | 23 ++++ > include/scsi/libsas.h | 13 +- > include/scsi/sas_ata.h | 4 +- > 11 files changed, 404 insertions(+), 191 deletions(-) >