Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp6681389iob; Wed, 11 May 2022 03:04:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyeEkV2z8x7AvXBxAZ9rcQBqH+htISEHeWZhdOclNm7Ql5lZ9WRNx6HfpMisXh8gVmR47RY X-Received: by 2002:a17:906:544e:b0:6f3:bd59:1a93 with SMTP id d14-20020a170906544e00b006f3bd591a93mr23750323ejp.421.1652263441935; Wed, 11 May 2022 03:04:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652263441; cv=none; d=google.com; s=arc-20160816; b=X6kWHyIzfUoNJnGqOCkQDfiDL9F7qVPaizf0n/Ru6hbVtBgYv3jxSiP1hMa+LSp2gq 6WzOGJ2yzegizTb4Yq/+JbIGHZRx8vLix+jOcpfyuNu5h8Ic5DTP0MPH3/jI7T4+0h3z lRUdCCj88GAMrWBns+mp0NsWan19sZmrit4/K8OfrBAKIIiVANeh7OKyqJOTPbsc9B5T M1cjKeubBXfR/d+k68MF5TesKSJs8gu9B1fNnFRvb81nExdfK8cBI0xNEuhqPYNw95gE 07g7ek3S+k1bLaPQQwCqT793urvZIqQ8DhcnpF8+GewZeGpT/Z9rMBXbeBviSpHuaavM D+Zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=PuXaOU3NnRKmgPtIyKPrxsMW3p/EiJXw3Bu9v33q5n0=; b=SnlWOe39pGUhLhi0Mkxg3ZIZv5+9oNeQhaOt6CB9u3DZ/vmxBU+esTeg/gtrwus7Ka GZ7BpC0wqqYN+YuVddPnKYGZUIJqqPU4rylUQRuHhCVsUbfH5GfStqjwv1ul6c5+oRm9 rpasCGgPCZ3gKTJMRa9ZeRtvz7fp84un8mv/pyJpm7ajks9J4CKhX8q6lv/IhWtLheID c/zPYBrneplnEiOydUAZKfuNKvKYL8tRkO52pQz+uX3etXG7CtO+STdMqWwdhq6h6Gnh wveKZ+wqfkZEj0b1GtdvmJ+vlKA9bwLmOGqS5U5h7rhIauKHNTXUHH6748hj3E/yDGfl qxKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=MT7+UqOC; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g8-20020a056402424800b00423539b299dsi2268228edb.150.2022.05.11.03.03.34; Wed, 11 May 2022 03:04:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-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=@redhat.com header.s=mimecast20190719 header.b=MT7+UqOC; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242601AbiEKIpa (ORCPT + 99 others); Wed, 11 May 2022 04:45:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235410AbiEKIp3 (ORCPT ); Wed, 11 May 2022 04:45:29 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7DBF71FE1D9 for ; Wed, 11 May 2022 01:45:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1652258726; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=PuXaOU3NnRKmgPtIyKPrxsMW3p/EiJXw3Bu9v33q5n0=; b=MT7+UqOCeCJNZbOe4JyfbyGzXtJI95SPtELsv5IKzplCp5op8D39SWV10NVgE3VSK0BVO0 4iWiBUQJMTJioIGzWjL4/Z0l2DovDR4psvvJls1N+nDePHLX9v9wf8fRgQaBIYolHbojUd 1zKS7kjx+b3D/8AYgvpRwedHFTYQRUQ= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-270-tNGE-ZDJPWqBLXUkT02_NQ-1; Wed, 11 May 2022 04:45:23 -0400 X-MC-Unique: tNGE-ZDJPWqBLXUkT02_NQ-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 06A178047D6; Wed, 11 May 2022 08:45:23 +0000 (UTC) Received: from fedora (unknown [10.40.194.0]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 17F41C2810D; Wed, 11 May 2022 08:45:21 +0000 (UTC) Date: Wed, 11 May 2022 10:45:19 +0200 From: Lukas Czerner To: Theodore Ts'o Cc: Eric Biggers , fstests@vger.kernel.org, linux-fscrypt@vger.kernel.org, linux-ext4@vger.kernel.org Subject: Re: [xfstests PATCH 1/2] ext4/053: update the test_dummy_encryption tests Message-ID: <20220511084519.aneysdmu2dburqus@fedora> References: <20220501051928.540278-1-ebiggers@kernel.org> <20220501051928.540278-2-ebiggers@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 2.85 on 10.11.54.8 X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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-ext4@vger.kernel.org On Tue, May 10, 2022 at 10:53:35AM -0400, Theodore Ts'o wrote: > On Mon, May 02, 2022 at 10:19:10AM -0700, Eric Biggers wrote: > > > > We could gate them on the kernel version, similar to the whole ext4/053 which > > already only runs on kernel version 5.12. (Kernel versions checks suck, but > > maybe it's the right choice for this very-nit-picky test.) Alternatively, I > > could just backport "ext4: only allow test_dummy_encryption when supported" to > > 5.15, which would be the only relevant LTS kernel version. > > If we don't need the "only allow test_dummy_encryption when supported" > in any Android, Distro, or LTS kernel --- which seems to be a > reasonable assumption, that seems to be OK. Lukas, do you agree? Yes I think this a reasonable approach. > > In the long term I suspect there will be times when we want to > backport mount option handling changes to older kernels, and we're > going to be hit this issue again, but as the saying goes, "sufficient > unto the day is the evil thereof". That is true and while it is a bit annoying to deal with I think that we generally have to keep the user facing mount option behaviour stable. The 053 test is helping with that for the price of some nuisance when we actually want to change the behaviour. For now I think it's a worthwhile trade-off. -Lukas > > - Ted > >