Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp1943469imn; Mon, 1 Aug 2022 05:55:09 -0700 (PDT) X-Google-Smtp-Source: AA6agR6WXvtd7X/ovyoYSUOnYAaDGDFQ4OaIqVSSwxUwPx91KCaL0HYBhlWGcNdNtZlXqNB17Pve X-Received: by 2002:a17:90a:2b89:b0:1f2:5860:f9aa with SMTP id u9-20020a17090a2b8900b001f25860f9aamr19742774pjd.40.1659358509192; Mon, 01 Aug 2022 05:55:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659358509; cv=none; d=google.com; s=arc-20160816; b=BkPVQx0NR5Rv+zw4yPGHvapK7ey6p10QAwFF5XqfNoclAFXZzxNDD+pxHAqa3ENbvJ bTB4z4whMsed+DAEhJflYC0d7zPyb+tpuWl4mpBFmXAcroy8CUHl+2HEsbvwHP1pnqEM ecBqQIeRZpzw8mzrvg3lCU8i1rD/UDkX6bnpTCu2GiLApFN5GERKSu9skDc2yO4jMBnv eh6iG+un37Ar6dMAJK7FqdVLcdhZPpDK/5cgCD+OIQ6KsMfQwHPDqzjhGksw4X24v2YJ JlJa77UEY88bYA+C9PgqMiv8Jx+E90Vosx95Bll40PsD3zBnSK4PhRNeeex/2+IwbwKB 2KyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=ySOxho5n+e29wKv8kNSyg1yqXHN2bw+cAsG5rNSiT8k=; b=DT/7/Rat3ZQJfA3HGWwNetCcMc8OSFyXPK0ZBgoMlZwnN5dZRmaDlhmG3Jql4iJIcU eAKIdX8lMLvhMyTf1Zdc3cya2kIYaySFXskg2D9kmFwWX9CRd28hYaLs8GA3trigap4y eVri5F7zjvwyCfNS3iBFFqpbXyktXk1bmvXPk2WK56kSAGoZ0U/SDmvaomBuIbvJjODg 3bX1rSoQvhPOfhyfPSMIPfibRR3bc7dI0MLlSLlM8fqKChrPHo1l2ko21pQ4mVEZ9O4c j9yG6PH6RaEeUYwHwiKskuwGp5YR5XVZc9AwKKlqLICGhmpJ95W7eIS1ub8xxyMDVERs c1Fw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.de header.s=amazon201209 header.b=ddaW4Nh6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q1-20020a056a00088100b0051c10b55b92si13528678pfj.187.2022.08.01.05.54.54; Mon, 01 Aug 2022 05:55:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@amazon.de header.s=amazon201209 header.b=ddaW4Nh6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231363AbiHAMie (ORCPT + 99 others); Mon, 1 Aug 2022 08:38:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232240AbiHAMiR (ORCPT ); Mon, 1 Aug 2022 08:38:17 -0400 Received: from smtp-fw-80007.amazon.com (smtp-fw-80007.amazon.com [99.78.197.218]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 965409EC5C; Mon, 1 Aug 2022 05:17:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.de; i=@amazon.de; q=dns/txt; s=amazon201209; t=1659356253; x=1690892253; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=ySOxho5n+e29wKv8kNSyg1yqXHN2bw+cAsG5rNSiT8k=; b=ddaW4Nh6W3gn0B7l6DnA/f66YqZ1UehqBTinXKg1Z677qUvEgmRU3w/H F8jR+XbJPDolS+1ZYerOopp22Vys71J4oWi+P2Z5tp+OClT0vXkIURxl2 jAKVWVy2R0X2yzRu7b0Sptm5ivvs0hGKeNOBCY8jMRK4RodCB6yJLrodw w=; X-IronPort-AV: E=Sophos;i="5.93,206,1654560000"; d="scan'208";a="114337904" Received: from pdx4-co-svc-p1-lb2-vlan3.amazon.com (HELO email-inbound-relay-pdx-2c-d9fba5dd.us-west-2.amazon.com) ([10.25.36.214]) by smtp-border-fw-80007.pdx80.corp.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Aug 2022 12:17:12 +0000 Received: from EX13MTAUWB001.ant.amazon.com (pdx1-ws-svc-p6-lb9-vlan2.pdx.amazon.com [10.236.137.194]) by email-inbound-relay-pdx-2c-d9fba5dd.us-west-2.amazon.com (Postfix) with ESMTPS id E0BE24436F; Mon, 1 Aug 2022 12:17:11 +0000 (UTC) Received: from EX13D41UWB001.ant.amazon.com (10.43.161.189) by EX13MTAUWB001.ant.amazon.com (10.43.161.249) with Microsoft SMTP Server (TLS) id 15.0.1497.36; Mon, 1 Aug 2022 12:17:11 +0000 Received: from EX13MTAUWB001.ant.amazon.com (10.43.161.207) by EX13D41UWB001.ant.amazon.com (10.43.161.189) with Microsoft SMTP Server (TLS) id 15.0.1497.36; Mon, 1 Aug 2022 12:17:11 +0000 Received: from dev-dsk-mheyne-1b-c1362c4d.eu-west-1.amazon.com (10.15.57.183) by mail-relay.amazon.com (10.43.161.249) with Microsoft SMTP Server id 15.0.1497.36 via Frontend Transport; Mon, 1 Aug 2022 12:17:10 +0000 Received: by dev-dsk-mheyne-1b-c1362c4d.eu-west-1.amazon.com (Postfix, from userid 5466572) id CEB4A2461; Mon, 1 Aug 2022 12:17:09 +0000 (UTC) Date: Mon, 1 Aug 2022 12:17:09 +0000 From: Maximilian Heyne To: SeongJae Park CC: , , , , , , , , , Subject: Re: [PATCH v4 0/3] xen-blk{back, front}: Fix two bugs in 'feature_persistent' Message-ID: <20220801121709.GA40940@dev-dsk-mheyne-1b-c1362c4d.eu-west-1.amazon.com> References: <20220715225108.193398-1-sj@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20220715225108.193398-1-sj@kernel.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 15, 2022 at 10:51:05PM +0000, SeongJae Park wrote: > > Introduction of 'feature_persistent' made two bugs. First one is wrong > overwrite of 'vbd->feature_gnt_persistent' in 'blkback' due to wrong > parameter value caching position, and the second one is unintended > behavioral change that could break previous dynamic frontend/backend > persistent feature support changes. This patchset fixes the issues. > > Changes from v3 > (https://lore.kernel.org/xen-devel/20220715175521.126649-1-sj@kernel.org/) > - Split 'blkback' patch for each of the two issues > - Add 'Reported-by: Andrii Chepurnyi ' > > Changes from v2 > (https://lore.kernel.org/xen-devel/20220714224410.51147-1-sj@kernel.org/) > - Keep the behavioral change of v1 > - Update blkfront's counterpart to follow the changed behavior > - Update documents for the changed behavior > > Changes from v1 > (https://lore.kernel.org/xen-devel/20220106091013.126076-1-mheyne@amazon.de/) > - Avoid the behavioral change > (https://lore.kernel.org/xen-devel/20220121102309.27802-1-sj@kernel.org/) > - Rebase on latest xen/tip/linux-next > - Re-work by SeongJae Park > - Cc stable@ > > Maximilian Heyne (1): > xen-blkback: Apply 'feature_persistent' parameter when connect > > SeongJae Park (2): > xen-blkback: fix persistent grants negotiation > xen-blkfront: Apply 'feature_persistent' parameter when connect > > .../ABI/testing/sysfs-driver-xen-blkback | 2 +- > .../ABI/testing/sysfs-driver-xen-blkfront | 2 +- > drivers/block/xen-blkback/xenbus.c | 20 ++++++++----------- > drivers/block/xen-blkfront.c | 4 +--- > 4 files changed, 11 insertions(+), 17 deletions(-) > > -- > 2.25.1 > Changes look good to me. Thank you for reworking my patch and also fixing the blkfront driver. Reviewed-by: Maximilian Heyne Amazon Development Center Germany GmbH Krausenstr. 38 10117 Berlin Geschaeftsfuehrung: Christian Schlaeger, Jonathan Weiss Eingetragen am Amtsgericht Charlottenburg unter HRB 149173 B Sitz: Berlin Ust-ID: DE 289 237 879