Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp397716imm; Thu, 31 May 2018 02:28:00 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJSztAUx+jN7gYFSrgZlp5/elCQu+Gbx/ghuapjGSwTr0zTrX2Obc6Hk+6FL3izusRU24CW X-Received: by 2002:aa7:8051:: with SMTP id y17-v6mr6080318pfm.148.1527758880313; Thu, 31 May 2018 02:28:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527758880; cv=none; d=google.com; s=arc-20160816; b=0ga10+RYohlTxfzTajjRM0nDLOBKenlfy/ECNngY9SkjmQfgvBaJFqpZP/MSfMHIij rz0viRXdusM98bETKbqRhjohzfy7iaKyzy59vDHHi2H7G6cxcrxM9AYG1e1ZOFGe/yHV H+cHbMJg4PdR2GxpLMFjZupfIcSbrcB3/au5r9s0BgiEggOunayfyzmwVFwI5Ku1DAb8 yME602LQzLPrmAxl7+FRZjphG6szSU8lQ4FWym+Koe8sP08rZ99G6NeX2G6uAjB87jfJ P2ncvEfh2rVr+OPz6O7vqb4o2C+DWSQRzmqyR99+2GXNJL6jKh78VGymER2EwhPLXZpb 2g0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=Ww0TNIZ9M0UXSw2aJ95U0GqVXb2S25wKD4jEu97eQLQ=; b=AN36UevgxlxEEpyRkUHxRXVq3WiL3eGr3PYUvBz3JI0h1+oz+nz35i3IhaMU1/LQ3W k9Qwe1VLzrVWx1WHD4GCOfCN9V2wUpO5e2Hv1qxDaZkmCHZnwApCLs5iGy/cIqGSeLXt ync8NxjFzq01hhZbX228pQrjp1eo51uBAGaT+AbAP6VNCg7/RHI6O7saSgUOtjplEfWJ tAVWXf1dr27mBB+g0x0+UjSfmX3jy0D9AAPvLywVfHnVvEvBNxWQUONowzgTlJ5IkvIZ 3lL5HlwPxJs3LH7FSTX2/Cs4DFRIq4ig1PfgHwJ0jwoDpw/OXDSxecZVL86B3l9FSsmH JMVA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w20-v6si37263747pfn.12.2018.05.31.02.27.46; Thu, 31 May 2018 02:28:00 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754283AbeEaJ1B (ORCPT + 99 others); Thu, 31 May 2018 05:27:01 -0400 Received: from mail-wm0-f54.google.com ([74.125.82.54]:36492 "EHLO mail-wm0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754103AbeEaJ1A (ORCPT ); Thu, 31 May 2018 05:27:00 -0400 Received: by mail-wm0-f54.google.com with SMTP id v131-v6so33482789wma.1 for ; Thu, 31 May 2018 02:26:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Ww0TNIZ9M0UXSw2aJ95U0GqVXb2S25wKD4jEu97eQLQ=; b=NxSGBlRsIc7R4egQcmwhwPIjsRg+Zed9FIGB9F9zclFc/Sw4WFwk2j7fzgrWnbXT5l 4BTErFqeDxozSlqOaK1EqKLXP1rikX6k50vLGxAIIKJ/tNiBJcX/FoZIG57bspFNoMbd 3LDGJ1KbkTVCpHWOOG40jRjJE4L5WFyJCNw/AIJsA7rK0ugGjxZobhx5xbl8oo++sPz6 ei19e9yaxvZFmfZC8A7XcwflPevwfs35emue4IcC3YtjZKwoXrHcziCQP/S7RWj8+YM9 PawV7MMDDAWIynLDU9LE1yY24pX1oLta32v9CJAy6Pbhly+dtICSbtJ5bO8am90+j5Ua R4Ew== X-Gm-Message-State: APt69E2Ixdh12w4+MXYE3682NAtFBfrbbGdJCY3onzd0k8XzentiUz3i vZcp07yLvyMgXEJKZG/JShM= X-Received: by 2002:a1c:850c:: with SMTP id h12-v6mr4235193wmd.136.1527758818971; Thu, 31 May 2018 02:26:58 -0700 (PDT) Received: from [192.168.64.169] (bzq-219-42-90.isdn.bezeqint.net. [62.219.42.90]) by smtp.gmail.com with ESMTPSA id c18-v6sm24422634wrq.17.2018.05.31.02.26.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 May 2018 02:26:58 -0700 (PDT) Subject: Re: [PATCH 3/5] nvme: call nvmf_create_ctrl before checking for duplicate assignment To: Johannes Thumshirn , Christoph Hellwig Cc: Keith Busch , Linux NVMe Mailinglist , Linux Kernel Mailinglist , Hannes Reinecke References: <20180515074043.22843-1-jthumshirn@suse.de> <20180515074043.22843-4-jthumshirn@suse.de> <20180515075055.GB23659@lst.de> <20180515075221.4ppaxdvbosy36ltk@linux-x5ow.site> From: Sagi Grimberg Message-ID: <1b2cdac6-4dbd-261b-0ae9-b9768f972f0d@grimberg.me> Date: Thu, 31 May 2018 12:26:56 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180515075221.4ppaxdvbosy36ltk@linux-x5ow.site> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >> In general it seems like fc loop needs to offload any I/O to a workqueue >> just like nvme-loop does, but even then I can't see how that is going to >> cause an issue in this area. > > Hmm I'll be looking into it. FWIW, I agree it should do that as well.