Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp881638ybi; Fri, 12 Jul 2019 06:10:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqwYIMvv7T2nWqFuirVqw1fHU/uPsjEEpM67fYiUDYhNGKqoLmlj+c3FPju2NrKXiALYf8Wo X-Received: by 2002:a17:90a:a407:: with SMTP id y7mr11719110pjp.97.1562937042992; Fri, 12 Jul 2019 06:10:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562937042; cv=none; d=google.com; s=arc-20160816; b=LxuggXL9b5IlNDYF0CdmE2G7Xg4sj8uC5B/556jokIL9Ly/9IdZKLJDI56qmhgM1mZ TnnmRC/Uem5eQ6kItnUFMt2cwvRNmXlPZZ+J9m6Y7tw4LCYjh4D27cRMgYFHDF85ODyG NJxzulafrV4b5Ipx0+7nWHC4iRY9nWUgAzGD3lZqaOdWyD0JoPz69ZkfalJQuwPzetky vnOjDcYcowpdCEp4LG8sQQJnnnpjg8MPOUlg4FCsKJ/bU1b/DFP9g3D7wUysIx6RHcmB HSnyPTgCsMGBGfS9ls3ZsdJuko2HyXIC0GSmgpet75e7AwHN6epfal/IObfPVkjeJJta KqgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:thread-index:thread-topic :content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:cc:to:from:date:dkim-signature:dkim-filter; bh=yyCslXZGpu39EYnls+rZ8yM854MaPIDJPEXwDlJvY2w=; b=dFbq59c+Z7BJFTNJg9ELQtL6Oh+dZEMSqeWdvKenGNHk1Z5SLZx7xnjIH0CaJtIm5y 4ILTr4EA1DZb5NbXgEmG4DxSHdMcIbsfxzBQdTUfLUfYqb6RxZj8dSlxZ1uayDoXL/CD t1eSoFrbvRfEQ9p8Oap3lZurzb9pNokqNrAcIEDtwHyCvvs+seuvuHOt26mgpMnm+8/c z+LE+Xx/m7oxe7szGyUcSMrYOWBorfiAWP/KsD0jWC6UxsYpHQDRuATA897fCHOHVvsw gmOg/AUmcktuxoJTetZci2myNXfM8asQTJn5MWHEmwXssL//oVeChe/V0w+jCoiDBzww IDYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kalray.eu header.s=32AE1B44-9502-11E5-BA35-3734643DEF29 header.b=AkbziRsr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=kalray.eu Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m4si2654891pgv.57.2019.07.12.06.10.26; Fri, 12 Jul 2019 06:10:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kalray.eu header.s=32AE1B44-9502-11E5-BA35-3734643DEF29 header.b=AkbziRsr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=kalray.eu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727724AbfGLNIT (ORCPT + 99 others); Fri, 12 Jul 2019 09:08:19 -0400 Received: from zimbra2.kalray.eu ([92.103.151.219]:36436 "EHLO zimbra2.kalray.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727157AbfGLNIT (ORCPT ); Fri, 12 Jul 2019 09:08:19 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra2.kalray.eu (Postfix) with ESMTP id 101892960D3C; Fri, 12 Jul 2019 15:08:17 +0200 (CEST) Received: from zimbra2.kalray.eu ([127.0.0.1]) by localhost (zimbra2.kalray.eu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id HTSI3eohb4Bk; Fri, 12 Jul 2019 15:08:15 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zimbra2.kalray.eu (Postfix) with ESMTP id D54442960D6D; Fri, 12 Jul 2019 15:08:15 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.10.3 zimbra2.kalray.eu D54442960D6D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kalray.eu; s=32AE1B44-9502-11E5-BA35-3734643DEF29; t=1562936895; bh=yyCslXZGpu39EYnls+rZ8yM854MaPIDJPEXwDlJvY2w=; h=Date:From:To:Message-ID:MIME-Version; b=AkbziRsr+Z4AWrLAiKk4QzbBivKncLt6+slmERVtKJipGa18QIKSj5JoinD0gC4g6 Dfl+TNRWxEvNhBcq63HAwAdLToYTMKO47XzzSNhdnPBmyB9qI8kveFyQysMBy6P7Nt ZAS+6lT5/8lrcp9QQO2KdPwNqzSUlNlORllunxlQ= X-Virus-Scanned: amavisd-new at zimbra2.kalray.eu Received: from zimbra2.kalray.eu ([127.0.0.1]) by localhost (zimbra2.kalray.eu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id FhP-mWq7ry6s; Fri, 12 Jul 2019 15:08:15 +0200 (CEST) Received: from zimbra2.kalray.eu (zimbra2.kalray.eu [192.168.40.202]) by zimbra2.kalray.eu (Postfix) with ESMTP id B9E302960D32; Fri, 12 Jul 2019 15:08:15 +0200 (CEST) Date: Fri, 12 Jul 2019 15:08:15 +0200 (CEST) From: Marta Rybczynska To: Christoph Hellwig Cc: Max Gurtovoy , kbusch , axboe , Sagi Grimberg , linux-nvme , linux-kernel , Samuel Jones , Jean-Baptiste Riaux Message-ID: <1603354553.31165718.1562936895742.JavaMail.zimbra@kalray.eu> In-Reply-To: <20190710163853.GB25486@lst.de> References: <1575872828.30576006.1562335512322.JavaMail.zimbra@kalray.eu> <989987da-6711-0abc-785c-6574b3bb768c@mellanox.com> <20190709212904.GB9636@lst.de> <516302383.30860772.1562736406606.JavaMail.zimbra@kalray.eu> <20190710163853.GB25486@lst.de> Subject: Re: [PATCH v2] nvme: fix multipath crash when ANA desactivated MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.40.202] X-Mailer: Zimbra 8.8.12_GA_3794 (ZimbraWebClient - FF57 (Linux)/8.8.12_GA_3794) Thread-Topic: nvme: fix multipath crash when ANA desactivated Thread-Index: fwKn1PX6YED9F5qDEy8Az7LxHoTF6w== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ----- On 10 Jul, 2019, at 18:38, Christoph Hellwig hch@lst.de wrote: > On Wed, Jul 10, 2019 at 07:26:46AM +0200, Marta Rybczynska wrote: >> Christoph, why would you like to put the use_ana function in the header? >> It isn't used anywhere else outside of that file. > > nvme_ctrl_use_ana has a single caller in core.c as well. Thanks Christoph, I'm testing a version similar to yours. Marta