Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp82565pxk; Wed, 23 Sep 2020 23:28:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxsBz4S/1i43BneMDs3sN1MVjTcJc00AZ+cJBKSWrKNjwkY7YnltooZH47GFKmJFDapQdOn X-Received: by 2002:a50:fb0e:: with SMTP id d14mr3103518edq.172.1600928931871; Wed, 23 Sep 2020 23:28:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600928931; cv=none; d=google.com; s=arc-20160816; b=AepG1BIjdyPo1Uiw9JyNPREWv+lB+t6iTpoEV3i8nzGlB6/HyJL7vAqA1RJoxJTmia 4Xxj0dm1U0S0FFJhZySnc9tgv2lyQMc+wnsxJwZ/AnkU45m6aRaiORlEf34qMDy3tHOo CIY/d6Vo7kzhvoBUiswe+BN9+y86zlGaeG8L8NehpqAsOirbgQYx0pIYJtC6ZRfjF/1r ypd2mizU/zHmsL54Wct+9/PEA+pkGE+ILssZksAI9U7y8I/ug+xhh4/O5vvRK6TtPDG6 fucP0EGHLSrZ46neWubKenmycQK64bJJb+2iYI6YcqL0SYd4N5TwLCKZ8ugXTRnYBk2+ k2qA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=zknW5jJHzdymA6wvIjLBr4rV/FXE51ARi7wGFxmt7nQ=; b=XKqwzoPl/MlWVEHrRsEQ0nmzLFdZsF0VLEcInWg9OvFT/gSKf/b0vNBZMh4wRCQLkd 8FpJRDGMQgNiWzl35eUVf8xHJj1+eC1ZvTvmE5rzZ7GxpvvxnDg5vt5RpTabN72XHhwX 9K0YoY9hym1EZtujrQtxxux/3v59aD5bmcQGJ6wXdTTcM9VC87ugupsmcKjixCzKlvCj RKB4YTXXVGRSumQUGEIsXGiZEbjC28tFyFSr3fQXP3FCdhwetYdfuf9oMMb4HbOmdERv kdJ6iDDVz1n2OTUiQUxojuH69/pqnG2QqSmrhPjfryrAlokOHPgWcCFZVCJcyvMWnoMu cL0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=KrqgABaE; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q17si1288362eju.141.2020.09.23.23.28.27; Wed, 23 Sep 2020 23:28:51 -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=@amazon.com header.s=amazon201209 header.b=KrqgABaE; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726896AbgIXG1S (ORCPT + 99 others); Thu, 24 Sep 2020 02:27:18 -0400 Received: from smtp-fw-4101.amazon.com ([72.21.198.25]:13396 "EHLO smtp-fw-4101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726119AbgIXG1S (ORCPT ); Thu, 24 Sep 2020 02:27:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1600928837; x=1632464837; h=from:to:cc:subject:date:message-id:in-reply-to: mime-version; bh=zknW5jJHzdymA6wvIjLBr4rV/FXE51ARi7wGFxmt7nQ=; b=KrqgABaE2Ncw17dXyNT3rI/zOqgCoUgcqVrJdb0tYbXiWX4nZK/pGBl4 eIrxvdZrmTCLG/J5NwWMU7ofUkrXyWTVMRrt3hETNHoIE8R81LHIPwD6s xKxTY/XjpHZD//eI/n97XR4fu9l86XOkj6GuEr9TLwfhRc4Rggf/zk/Fn s=; X-IronPort-AV: E=Sophos;i="5.77,296,1596499200"; d="scan'208";a="56021443" Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-2a-119b4f96.us-west-2.amazon.com) ([10.43.8.6]) by smtp-border-fw-out-4101.iad4.amazon.com with ESMTP; 24 Sep 2020 06:27:15 +0000 Received: from EX13D31EUA004.ant.amazon.com (pdx4-ws-svc-p6-lb7-vlan2.pdx.amazon.com [10.170.41.162]) by email-inbound-relay-2a-119b4f96.us-west-2.amazon.com (Postfix) with ESMTPS id EB1FB1A03DC; Thu, 24 Sep 2020 06:27:14 +0000 (UTC) Received: from u3f2cd687b01c55.ant.amazon.com (10.43.161.146) by EX13D31EUA004.ant.amazon.com (10.43.165.161) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 24 Sep 2020 06:27:08 +0000 From: SeongJae Park To: Konrad Rzeszutek Wilk CC: SeongJae Park , , SeongJae Park , , , , , , , Subject: Re: [PATCH] xen-blkback: add a parameter for disabling of persistent grants Date: Thu, 24 Sep 2020 08:26:53 +0200 Message-ID: <20200924062653.9449-1-sjpark@amazon.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200923200930.GB11767@char.us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.43.161.146] X-ClientProxiedBy: EX13D17UWB004.ant.amazon.com (10.43.161.132) To EX13D31EUA004.ant.amazon.com (10.43.165.161) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 23 Sep 2020 16:09:30 -0400 Konrad Rzeszutek Wilk wrote: > On Tue, Sep 22, 2020 at 09:01:25AM +0200, SeongJae Park wrote: > > From: SeongJae Park > > > > Persistent grants feature provides high scalability. On some small > > systems, however, it could incur data copy overhead[1] and thus it is > > required to be disabled. But, there is no option to disable it. For > > the reason, this commit adds a module parameter for disabling of the > > feature. > > Would it be better suited to have it per guest? The latest version of this patchset[1] supports blkfront side disablement. Could that partially solves your concern? [1] https://lore.kernel.org/xen-devel/20200923061841.20531-1-sjpark@amazon.com/ Thanks, SeongJae Park