Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp545788pxb; Wed, 25 Aug 2021 09:08:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzkGr/JAsEr7ncUYzqQXi6GJid5R1Df/mI4C6n2slafyWPcNFOghHtr4bbnKT6/D9VVK6z4 X-Received: by 2002:a05:6512:456:: with SMTP id y22mr32962892lfk.647.1629907702517; Wed, 25 Aug 2021 09:08:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629907702; cv=none; d=google.com; s=arc-20160816; b=XIlPYjiAA+Xshr/xiRxTIdE26HajrJHzcnkUnpNchpZ8dw7hPiYeHhtqKuOmflGhHW nEvAp/aEOiI3XNzaIxc/2bOCaitoRIcrZ4d1gMa2CYgZKC9h+0olThOnZASaXoEOaQPi ELLFw9GN2GXDKiiMzx3xLSLO/GBS75yu9xPIMKs9Jo9pSjJwyduIRhXelCPzrUULbiBD PsHWRLeX14gIMu3fken8y+VSd/j/lg5TfuOpS72RQcLromW6dGXG/dRQgplIJhsRwWTH 0VX3WCCNK2lFfkfXR87uIYc1Lf24fMmAzuYhhi6mr3/suaVi2UkXV2N40SMCpTWGqg7x jNsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature:dkim-signature; bh=MccwDfvIRHA1wKv36RouYR5dfCf1KOnt4ZYAj6Mqvo0=; b=SpRaTmBKFCGPXrTiBdHxvA6eQUY/B8dPRlPrQiZJ60iVZCisR+MMteBEJ/0OE7QDwS ZQhQDf5Onrfq/s3q7kG1FhTixq0PkrvkURhvZzdF5ioC46HfU3Fzwp6sLM6dcp9aCDbO gYX4wneeD14yzMN5vTYxMH6B7HnGYlUlQvYgPx/ww6Xphp4UfSnxvDUyVocr1wtfwc6D 6vL0n82HsbUMlxK0T3/9bYKOLrj5FE6Il6Ty/BS1D4hXI8QW5FSECV4D+0Lp4I/wCUdR 5qgO9ZbMzZjtmbVB3gRK880X2YIlXFTz81O1tiNUVdOWyduODwfi/WoGpNuPCqy6va/1 3TXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=Rh1RZWSX; dkim=neutral (no key) header.i=@suse.de header.b=95N6DcY2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bj25si201232ejb.201.2021.08.25.09.07.56; Wed, 25 Aug 2021 09:08:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=Rh1RZWSX; dkim=neutral (no key) header.i=@suse.de header.b=95N6DcY2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241168AbhHYPwN (ORCPT + 99 others); Wed, 25 Aug 2021 11:52:13 -0400 Received: from smtp-out2.suse.de ([195.135.220.29]:45928 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237144AbhHYPwN (ORCPT ); Wed, 25 Aug 2021 11:52:13 -0400 Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 29E6020128; Wed, 25 Aug 2021 15:51:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1629906686; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=MccwDfvIRHA1wKv36RouYR5dfCf1KOnt4ZYAj6Mqvo0=; b=Rh1RZWSXFMYnhWwYjLw4+60Epx2V2QYHUMUCFGQYM+ttLZzn2LK9qpP7DCsJ9B88toEg7M lgaTSe9Ramhii3yZ4B595WOsxpuSEQUCv3wMbXWPya2E3qAU0O/do4HZTmePWtV0MabOTc ER73EpH6Di3lSIk63fAFx9CHvwBxP6w= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1629906686; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=MccwDfvIRHA1wKv36RouYR5dfCf1KOnt4ZYAj6Mqvo0=; b=95N6DcY2DvXZ2+FlYlbvCwZn5Lwl1a9PeKIIGHjin2qC1Zw/J5LIooUQS1tVYotrDaf3uP nhuvz3a9XH4Ru6Dw== Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap1.suse-dmz.suse.de (Postfix) with ESMTPS id E5C0D13A89; Wed, 25 Aug 2021 15:51:25 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap1.suse-dmz.suse.de with ESMTPSA id XKoeNv1mJmFgXgAAGKfGzw (envelope-from ); Wed, 25 Aug 2021 15:51:25 +0000 Subject: Re: [PATCH v2] nvme: update keep alive interval when kato is modified To: "hch@lst.de" , sasaki tatsuya Cc: "kbusch@kernel.org" , "axboe@fb.com" , "sagi@grimberg.me" , "linux-nvme@lists.infradead.org" , "linux-kernel@vger.kernel.org" References: <526a1a756d6c4643b15b1b305cc32817@kioxia.com> <20210825085345.GA31419@lst.de> From: Hannes Reinecke Message-ID: <2fc5b98a-b397-3be1-1957-986e8b6aa732@suse.de> Date: Wed, 25 Aug 2021 17:51:25 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: <20210825085345.GA31419@lst.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/25/21 10:53 AM, hch@lst.de wrote: > Any reason we can't just call this from nvme_passthru_end instead > of inventing a new API? Right now the nvmet passthrough code never > uses the underlying keep alive code, so it doesn't make a difference, > but I expect we'll need more handling for passthrough commands like > this, and we might also grow more users (e.g. the io_uring based > passthrough). > Yeah, we'll need that anyway if and when hostid becomes settable. Cheers, Hannes -- Dr. Hannes Reinecke Kernel Storage Architect hare@suse.de +49 911 74053 688 SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer