From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED,USER_AGENT_NEOMUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D01CDC43144 for ; Mon, 25 Jun 2018 07:08:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 963C825501 for ; Mon, 25 Jun 2018 07:08:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 963C825501 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752315AbeFYHIz (ORCPT ); Mon, 25 Jun 2018 03:08:55 -0400 Received: from mx2.suse.de ([195.135.220.15]:47649 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751238AbeFYHIx (ORCPT ); Mon, 25 Jun 2018 03:08:53 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext-too.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id A7331AC71; Mon, 25 Jun 2018 07:08:51 +0000 (UTC) Date: Mon, 25 Jun 2018 09:08:51 +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: <20180625070850.jdl7mudz6o6diwsj@linux-x5ow.site> References: <20180611184630.3435-1-jthumshirn@suse.de> 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 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. Byte, 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