Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp3934014imm; Mon, 25 Jun 2018 07:04:48 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJ2jY0SaWVCVOPB0GF2H+8SjUgVNW/RZ/ZOQ/naeS9M/hk2qRdTmIobSWjSPYSy4uqC8Xj/ X-Received: by 2002:a63:6501:: with SMTP id z1-v6mr10903999pgb.452.1529935488756; Mon, 25 Jun 2018 07:04:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529935488; cv=none; d=google.com; s=arc-20160816; b=WfRzPKSUZB7zfL3LWEThcsadGJvxelppEXY5SdAXTtQz2XT2wno9OQZw9VH7EI+dPt uLSmGmalkZfPUTnNOMqYBe1bYWdnYi5JqD5FnLS1fbLDzRhlgRA+8XoePlL1I3Xjvmcx XQnhAHbgB7pPRzRV0P42ocycNfGHC0NQw7Sjpk+J3tZTOH4xZrKZcc090WLPFUkyVUPP n8WebDB/Gu+HtVLhq8rifgMfi/9GzZCUz2Yxxfef1TY7ObjTmGROWglOYBixBF+7r4Zr V8AxC1vOTERyBVE1309TclSnQVTMY0SOXrWKT+T0lguUF0/aUfDIRrg3bbEHn8qNf523 M1Xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date :arc-authentication-results; bh=NDbPrBlUBiWxhg/Z9BE90sBtmlXMs1BArN/K806r/zM=; b=XoNpeXyKGrD4tmELLDbGnO//0DbrEOBKpG2fxXdRqyJP/9MhSFTEnnowJzvclkXtEf wUcHE/jHjop/I399Da2DSenotAGgm+atoMfPkhM0QKpdcyPiKQmfWl2Sd6VE4e5xfnvu Zsu9MRfAM1NjMaaVc3MFg1pv/WKxtv/NRcyCMqIP0PEJ3JGQdlBPG2f7HzfJB7gAUbVo T0vntq+mzLtFgO9RoWwxHu5yEaxU1HeJDsk+W7R3wpzHYvF5oUJZObQ6zkTrNgwlCBi2 JwA9zOl2fuIwXqZv32F9mu8xu7uJUpldADCn/frvxVOryK2TA/XDQipGshFbu/KSTwk6 xZhA== 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 z18-v6si11591033pgu.692.2018.06.25.07.04.33; Mon, 25 Jun 2018 07:04:48 -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 S934188AbeFYODD (ORCPT + 99 others); Mon, 25 Jun 2018 10:03:03 -0400 Received: from mx2.suse.de ([195.135.220.15]:53070 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933996AbeFYODC (ORCPT ); Mon, 25 Jun 2018 10:03:02 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext-too.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 77620ADCC; Mon, 25 Jun 2018 14:03:01 +0000 (UTC) Date: Mon, 25 Jun 2018 16:03:00 +0200 From: Johannes Thumshirn To: Sagi Grimberg Cc: Christoph Hellwig , Keith Busch , Linux Kernel Mailinglist , Linux NVMe Mailinglist Subject: Re: [PATCH v4 1/1] nvme: trace: add disk name to tracepoints Message-ID: <20180625140300.rebclfa6pa6mtsat@linux-x5ow.site> References: <20180611184630.3435-1-jthumshirn@suse.de> <20180625070850.jdl7mudz6o6diwsj@linux-x5ow.site> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20170912 (1.9.0) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 25, 2018 at 04:31:28PM +0300, Sagi Grimberg wrote: > > > On 06/25/2018 10:08 AM, Johannes Thumshirn wrote: > > On Tue, Jun 19, 2018 at 05:09:27PM +0300, Sagi Grimberg wrote: > > > 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). > > > > Do you have a patch for this around? IIRC I started this (as Christoph > > also suggested it) but it turned out to be quite a big refactoring > > work. > > How about the below? patch #1 is what you are looking for, patch #2 is > a slightly modified version that applies on #1. Let me know what you > think... Looks good (both #1 if we want to use the two patch version or #2). I have no idea what I did when I was trying to do when I tried it. Johannes -- Johannes Thumshirn Storage jthumshirn@suse.de +49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 N?rnberg GF: Felix Imend?rffer, Jane Smithard, Graham Norton HRB 21284 (AG N?rnberg) Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850