Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp5230554imm; Tue, 19 Jun 2018 07:12:03 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIzOtoYThIneChAlni+Jrgk4o1yGTLdZEzUrX5cJlUYCNxDTt98B2N1Nvq0zKcxoYinQZw2 X-Received: by 2002:a62:dc1c:: with SMTP id t28-v6mr18289538pfg.137.1529417522946; Tue, 19 Jun 2018 07:12:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529417522; cv=none; d=google.com; s=arc-20160816; b=S/A7PPam9/UK9+NB+FMoCKZKFLDFnKas3GJ8d5ACfDEinwoyWgs7PQV++rg9CM+552 d9yxP1MQsmafO5Tma19QO5Mv/xCa8kSDuLszKR/dIQwgKFWGHrQVUoI+O2yROHLXsANm fcqHX6QYGnnZQHcCS7pUfGfnZeoAX9AK1mtA+O42hQ1/+CLeE0HP1h0V7PnCfBU/Wris 1vfoZ5Xg8eWjeNQxAanvRuVViQ7Hi61w9lWC8hImd7MA0RcjPgOGNsrB7Ux0HY6RLYwy Zrc87aVyLJdgjACRhnvPkFOLZ75LR42z53mfuwJktkrZqVZEnfcMqlaLM6wtYU+stjhl kBug== 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=/eY7U5TEC0Ymmw5WXBmOOLV+sT3UquxTWhyrZwHRD1g=; b=m8thVx9090pejwN/podA9H9BR+AIn7jMLig0xFVpcgP+YaOSuD1B3vCXqWehkijBoJ dzjVnTCJeb+tHiYvUQ/Cq93OJJzJlVpAgqQ8F4L8e2mFDaJs2ZShSaYCEDa+ohvfmj0F u6tnXbU3YHmXADZ38PCecjg4wL0yGP/u7/Mn3Y74cUOrEs8cl3Q6QpM55Je3jwIVf9uc TGIaj1Nq1Dx7I1EwuuDYdwd/ga+CCeJ1mIkablxDdRSjVQ2V7mRwuYXUQuK+fnCMKWUx bzVDMfkLpy4K4uHEl8/2lNI/eiO1ed8ZFXjMgh/z4R2pxUnjvPLxOyabwYGV9EKyt4kR hW2Q== 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 v8-v6si17528338plo.322.2018.06.19.07.11.33; Tue, 19 Jun 2018 07:12:02 -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 S966044AbeFSOJc (ORCPT + 99 others); Tue, 19 Jun 2018 10:09:32 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:39450 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756803AbeFSOJa (ORCPT ); Tue, 19 Jun 2018 10:09:30 -0400 Received: by mail-wm0-f66.google.com with SMTP id p11-v6so699331wmc.4 for ; Tue, 19 Jun 2018 07:09:30 -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=/eY7U5TEC0Ymmw5WXBmOOLV+sT3UquxTWhyrZwHRD1g=; b=EyRCtC3UKnJq8YkA0041iB57DbUOzKBm4SVdAp+d1SR778PdxRhSxJGDVra/ZSxehX uDvQiwQeWowlCCj6bGBIo4VtLUU0C2GHmq6OE/U3p6yTc02qk/M9YtVg4tf1VuTsQxJ6 Zbc+9wb0nf0SO/zYySNxcRo0A2xUgZhQ/vkfiUrE7ki59INOipulTIpRz4Qj8DT9j9mW DsuOdi30SMisTkcc7AY1dM+BC2W8kJIb09otCq0pIF5Ksn8NbxBmsYI6gpTWCSQ4wTWP ppHC2b6jMMPTmvEfIDSZ6DvMpPP7kgKyKDzYVjLOj2OjPpF5zy2+kjQwFd4pOAXmVOd+ uRgQ== X-Gm-Message-State: APt69E2d3R0wXKmObP3PKQiB6E3DzD1hf9zj1s2PnUA+WuHovYh+NSuU oplqPEyDjbIAAS1521oPw9Q= X-Received: by 2002:a1c:5582:: with SMTP id j124-v6mr12496325wmb.153.1529417369715; Tue, 19 Jun 2018 07:09:29 -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 v2-v6sm80959wmh.41.2018.06.19.07.09.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Jun 2018 07:09:28 -0700 (PDT) Subject: Re: [PATCH v4 1/1] nvme: trace: add disk name to tracepoints To: Johannes Thumshirn , Christoph Hellwig , Keith Busch Cc: Linux Kernel Mailinglist , Linux NVMe Mailinglist References: <20180611184630.3435-1-jthumshirn@suse.de> From: Sagi Grimberg Message-ID: Date: Tue, 19 Jun 2018 17:09:27 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180611184630.3435-1-jthumshirn@suse.de> 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 On 06/11/2018 09:46 PM, Johannes Thumshirn wrote: > Add disk name to tracepoints so we can better distinguish between > individual disks in the trace output. > > Signed-off-by: Johannes Thumshirn > > --- > > I'm not entirely sure if this adding the ctrl pointers to > nvme_complete_rq() and nvme_setup_cmd() is a good idea, it's the > fast-path after all. We are going to need it for traffic based keep alive to update that we saw a completion to extend the kato. But I suggest you simply keep a ctrl reference in struct nvme_request instead so you don't need to pass it to nvme_complete_req (that's what I did for traffic based keep alive).